Fix flashing tooltip.

This commit is contained in:
2020-12-21 17:25:10 +01:00
parent 8ac2d7069d
commit 39491663ee
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ namespace FlaxEngine.GUI
{
// Auto hide if mouse leaves control area
Vector2 mousePos = Input.MouseScreenPosition;
Vector2 location = _showTarget.ScreenToClient(mousePos / Platform.DpiScale);
Vector2 location = _showTarget.ScreenToClient(mousePos);
if (!_showTarget.OnTestTooltipOverControl(ref location))
{
// Mouse left or sth