Fixed wire control hit test to work properly when the UI is scaled (#5181) (#5182)

This commit is contained in:
Antoine Chavasse
2021-11-06 16:58:24 -07:00
committed by GitHub
parent 4cbc84f02b
commit a4bdfd2b52
+1 -1
View File
@@ -370,7 +370,7 @@ namespace Content.Client.Wires.UI
return;
}
if (args.RelativePixelPosition.Y > 20 && args.RelativePixelPosition.Y < 60)
if (args.RelativePosition.Y > 20 && args.RelativePosition.Y < 60)
{
WireClicked?.Invoke();
}