Address review comments

This commit is contained in:
stefnotch
2021-02-21 20:50:21 +01:00
parent 7f5903584e
commit 0a9e9e6695
4 changed files with 6 additions and 6 deletions

View File

@@ -310,7 +310,7 @@ namespace FlaxEngine.GUI
/// <summary>
/// Gets the GUI window root control which contains that control (or null if not linked to any).
/// </summary>
public virtual WindowRootControl RootWindow => _parent?.RootWindow; // TODO: Why doesn't this just go "_root?.RootWindow" or something?
public virtual WindowRootControl RootWindow => _root?.RootWindow;
/// <summary>
/// Gets screen position of the control (upper left corner).