This commit is contained in:
2026-09-15 13:15:04 +02:00
parent a80bf46da2
commit fe6da84616
+3 -2
View File
@@ -242,8 +242,9 @@ namespace FlaxEngine.GUI
if (_window)
_window.Position = mousePos + TooltipOffset;
}
if (Input.Mouse.IsAnyButtonDown || Math.Abs(Input.Mouse.ScrollDelta) > Mathf.Epsilon)
var mouse = Input.Mouse;
if (mouse.IsAnyButtonDown || Math.Abs(mouse.ScrollDelta) > Mathf.Epsilon)
{
// Hide popup when buttons are pressed
Hide();