Fix warning
This commit is contained in:
@@ -315,7 +315,7 @@ namespace FlaxEngine.GUI
|
||||
/// <summary>
|
||||
/// Gets the control DPI scale factor (1 is default). Includes custom DPI scale.
|
||||
/// </summary>
|
||||
public float DpiScale => _root?.RootWindow?.DpiScale ?? Platform.DpiScale;
|
||||
public float DpiScale => _root?.RootWindow?.Window.DpiScale ?? Platform.DpiScale;
|
||||
|
||||
/// <summary>
|
||||
/// Gets screen position of the control (upper left corner).
|
||||
|
||||
@@ -55,11 +55,6 @@ namespace FlaxEngine.GUI
|
||||
/// </summary>
|
||||
public bool IsMaximized => _window.IsMaximized;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the window DPI scale factor (1 is default). Includes custom DPI scale
|
||||
/// </summary>
|
||||
public float DpiScale => _window.DpiScale;
|
||||
|
||||
internal WindowRootControl(Window window)
|
||||
{
|
||||
_window = window;
|
||||
|
||||
Reference in New Issue
Block a user