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 7bff09eeb9
commit 28d167b4f8
2 changed files with 55 additions and 54 deletions

View File

@@ -219,7 +219,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);