Apply suggestions

This commit is contained in:
ColdVolcano 2017-05-22 04:55:33 -05:00
parent f2b5be27c8
commit 601b840713

View File

@ -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();