Add DpiScale to RootWindow

This commit is contained in:
stefnotch
2021-02-08 09:48:57 +01:00
parent c7feeb624d
commit 8f8f0266ce
5 changed files with 9 additions and 4 deletions

View File

@@ -108,7 +108,7 @@ namespace FlaxEditor.Surface.ContextMenu
{
_resultPanel.DisposeChildren();
var dpiScale = RootWindow.Window.DpiScale;
var dpiScale = RootWindow.DpiScale;
if (items.Count == 0)
{