Merge branch 'click_hides_tooltip' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-click_hides_tooltip

This commit is contained in:
2026-09-15 13:13:43 +02:00
+6
View File
@@ -242,6 +242,12 @@ namespace FlaxEngine.GUI
if (_window)
_window.Position = mousePos + TooltipOffset;
}
if (Input.Mouse.IsAnyButtonDown || Math.Abs(Input.Mouse.ScrollDelta) > Mathf.Epsilon)
{
// Hide popup when buttons are pressed
Hide();
}
base.Update(deltaTime);
}