style(KeyCounter): forwardPlayback

This commit is contained in:
tsrk 2023-02-21 19:02:56 +00:00
parent 8830e06588
commit 5bec2d7c52
No known key found for this signature in database
GPG Key ID: EBD46BB3049B56D6

View File

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