mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:17:27 +08:00
Switch to == true
This commit is contained in:
parent
ad3a470eaf
commit
54280f06be
@ -171,13 +171,13 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
switch (e.Key)
|
||||
{
|
||||
case Key.G:
|
||||
return reverseButton?.TriggerClick() ?? false;
|
||||
return reverseButton?.TriggerClick() == true;
|
||||
|
||||
case Key.Comma:
|
||||
return rotateCounterClockwiseButton?.TriggerClick() ?? false;
|
||||
return rotateCounterClockwiseButton?.TriggerClick() == true;
|
||||
|
||||
case Key.Period:
|
||||
return rotateClockwiseButton?.TriggerClick() ?? false;
|
||||
return rotateClockwiseButton?.TriggerClick() == true;
|
||||
}
|
||||
|
||||
return base.OnKeyDown(e);
|
||||
|
Loading…
Reference in New Issue
Block a user