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