1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 15:33:05 +08:00

Invert operands for better readability

This commit is contained in:
Bartłomiej Dach 2022-04-03 15:24:00 +02:00
parent 35629e9be8
commit 1393e3628b
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -190,7 +190,7 @@ namespace osu.Game.Overlays.Toolbar
public bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
{
if (!e.Repeat && e.Action == Hotkey)
if (e.Action == Hotkey && !e.Repeat)
{
TriggerClick();
return true;