Fix auto-focus for dock window on right-click to prevent Game Window mouse steal when using context menu
This commit is contained in:
@@ -348,7 +348,7 @@ namespace FlaxEditor.GUI.Docking
|
||||
// Cache data
|
||||
IsMouseRightButtonDown = true;
|
||||
if (MouseDownWindow != null)
|
||||
_panel.SelectTab(MouseDownWindow);
|
||||
_panel.SelectTab(MouseDownWindow, false);
|
||||
}
|
||||
else if (button == MouseButton.Middle)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user