Fix docking hints jumping around on high dpi screens

This commit is contained in:
stefnotch
2020-12-23 14:12:53 +01:00
parent 310140e91b
commit 0679aebfac

View File

@@ -223,8 +223,7 @@ namespace FlaxEditor.GUI.Docking
_mouse = FlaxEngine.Input.MouseScreenPosition;
// Check intersection with any dock panel
var dpiScale = Platform.DpiScale;
var uiMouse = _mouse / dpiScale;
var uiMouse = _mouse;
_toDock = _toMove.MasterPanel.HitTest(ref uiMouse, _toMove);
// Check dock state to use