mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:17:51 +08:00
add inline comment for supposedly backwards ternary
This commit is contained in:
parent
2a02566283
commit
cc733ea809
@ -191,6 +191,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
||||
|
||||
public override void HandleRelease(bool wasLeft)
|
||||
{
|
||||
// this intentionally releases right when `wasLeft` is true because `wasLeft` is set at point of press and not at point of release
|
||||
Mod.osuInputManager.KeyBindingContainer.TriggerReleased(wasLeft ? OsuAction.RightButton : OsuAction.LeftButton);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user