mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
style(KeyCounter): forwardPlayback
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user