From 06c31a39f2bd001e7adbdc71b6bcefc2e98bafcf Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Thu, 12 Feb 2026 16:24:15 +0100 Subject: [PATCH] Don't bring the main window to the front while dragging as it can cover up floating windows there --- Source/Editor/GUI/Docking/WindowDragHelper.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Editor/GUI/Docking/WindowDragHelper.cs b/Source/Editor/GUI/Docking/WindowDragHelper.cs index 0ba7d85b7..854d5628e 100644 --- a/Source/Editor/GUI/Docking/WindowDragHelper.cs +++ b/Source/Editor/GUI/Docking/WindowDragHelper.cs @@ -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