Don't bring the main window to the front while dragging as it can cover up floating windows there

This commit is contained in:
Wojtek Figat
2026-02-12 16:24:15 +01:00
parent 2a6e38e020
commit 06c31a39f2

View File

@@ -323,7 +323,8 @@ namespace FlaxEditor.GUI.Docking
AddDockHints();
// Make sure the all the dock hint areas are not under other windows
_toDock?.RootWindow.Window.BringToFront();
if (_toDock != Editor.Instance.UI.MasterPanel)
_toDock?.RootWindow.Window.BringToFront();
//_toDock?.RootWindow.Window.Focus();
#if PLATFORM_SDL