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:
parent
35629e9be8
commit
1393e3628b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user