Merge branch 'dpi-root-window-fix' of git://github.com/stefnotch/FlaxEngine into stefnotch-dpi-root-window-fix
This commit is contained in:
@@ -313,7 +313,7 @@ namespace FlaxEngine.GUI
|
||||
/// <summary>
|
||||
/// Gets the control DPI scale factor (1 is default). Includes custom DPI scale.
|
||||
/// </summary>
|
||||
public float DpiScale => _root?.RootWindow?.Window.DpiScale ?? Platform.DpiScale;
|
||||
public float DpiScale => RootWindow?.Window.DpiScale ?? Platform.DpiScale;
|
||||
|
||||
/// <summary>
|
||||
/// Gets screen position of the control (upper left corner).
|
||||
|
||||
Reference in New Issue
Block a user