mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 00:42:55 +08:00
Add comments
This commit is contained in:
parent
223b858227
commit
a2674f3c3f
@ -121,11 +121,14 @@ namespace osu.Game.Overlays.Mods
|
|||||||
{
|
{
|
||||||
dequeuedAction();
|
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);
|
selectionDelay = Math.Max(30, selectionDelay * 0.8f);
|
||||||
lastSelection = Time.Current;
|
lastSelection = Time.Current;
|
||||||
}
|
}
|
||||||
else
|
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;
|
selectionDelay = initial_multiple_selection_delay;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user