Fix parent window position handling with popup/tooltip windows

This commit is contained in:
2024-07-31 23:05:43 +03:00
committed by Ari Vuollet
parent 8dbd227122
commit 7288980caa
2 changed files with 55 additions and 54 deletions

View File

@@ -260,7 +260,7 @@ namespace FlaxEditor.GUI.ContextMenu
desc.AllowDragAndDrop = false;
desc.IsTopmost = true;
desc.Type = WindowType.Popup;
//desc.Parent = parentWin.Window;
desc.Parent = parentWin.Window;
desc.HasSizingFrame = false;
OnWindowCreating(ref desc);
_window = Platform.CreateWindow(ref desc);