mirror of
https://github.com/ppy/osu
synced 2025-01-08 23:29:43 +00:00
Apply suggestions
This commit is contained in:
parent
f2b5be27c8
commit
601b840713
@ -66,8 +66,9 @@ namespace osu.Game.Screens.Menu
|
||||
{
|
||||
if (newBeat < 0)
|
||||
return;
|
||||
|
||||
TrackAmplitudes amp = beatmap.Value.Track.CurrentAmplitudes;
|
||||
if (newBeat % (kiai ? 2 : (int)timeSignature) == 0)
|
||||
if (kiai ? newBeat % 2 == 0 : newBeat % (int)timeSignature) == 0)
|
||||
{
|
||||
leftBox.ClearTransforms();
|
||||
leftBox.FadeTo(Math.Max(0, (amp.LeftChannel - amplitude_dead_zone) / (kiai ? kiai_multiplier : alpha_multiplier)), 65);
|
||||
@ -75,6 +76,7 @@ namespace osu.Game.Screens.Menu
|
||||
leftBox.FadeOut(beatLength, EasingTypes.In);
|
||||
leftBox.DelayReset();
|
||||
}
|
||||
|
||||
if (kiai ? newBeat % 2 == 1 : newBeat % (int)timeSignature == 0)
|
||||
{
|
||||
rightBox.ClearTransforms();
|
||||
|
Loading…
Reference in New Issue
Block a user