mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 16:32:54 +08:00
Add comments
This commit is contained in:
parent
223b858227
commit
a2674f3c3f
@ -121,11 +121,14 @@ namespace osu.Game.Overlays.Mods
|
||||
{
|
||||
dequeuedAction();
|
||||
|
||||
// each time we play an animation, we decrease the time until the next animation (to ramp the visual and audible elements).
|
||||
selectionDelay = Math.Max(30, selectionDelay * 0.8f);
|
||||
lastSelection = Time.Current;
|
||||
}
|
||||
else
|
||||
{
|
||||
// reset the selection delay after all animations have been completed.
|
||||
// this will cause the next action to be immediately performed.
|
||||
selectionDelay = initial_multiple_selection_delay;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user