Fix warnings

This commit is contained in:
SirLynix
2023-01-28 11:14:02 +01:00
parent f1ee611378
commit c0024dfa34
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ namespace Nz
// If user clicks inside button and holds it outside, a release mouse button event will be triggered outside of the widget
// we don't want this to trigger the button, so double-check
if (IsInside(x, y))
if (IsInside(float(x), float(y)))
SwitchToNextState();
return true;