style(KeyCounter): forwardPlayback

This commit is contained in:
tsrk
2023-02-21 19:02:56 +00:00
parent 8830e06588
commit 5bec2d7c52

View File

@ -60,17 +60,17 @@ namespace osu.Game.Screens.Play
countPresses.Value--; countPresses.Value--;
} }
protected virtual void Activate(bool increment = true) protected virtual void Activate(bool forwardPlayback = true)
{ {
IsActive.Value = true; IsActive.Value = true;
if (increment) if (forwardPlayback)
Increment(); Increment();
} }
protected virtual void Deactivate(bool preserve = true) protected virtual void Deactivate(bool forwardPlayback = true)
{ {
IsActive.Value = false; IsActive.Value = false;
if (!preserve) if (!forwardPlayback)
Decrement(); Decrement();
} }