Apply suggestions from code review

Co-Authored-By: smoogipoo <1329837+smoogipoo@users.noreply.github.com>
This commit is contained in:
Dean Herbert
2019-02-22 17:06:49 +09:00
committed by GitHub
parent 8f53af1c71
commit 452caabd40
12 changed files with 20 additions and 20 deletions

View File

@ -67,8 +67,8 @@ namespace osu.Game.Rulesets.Mania.UI.Components
direction.BindValueChanged(e =>
{
gradient.Colour = ColourInfo.GradientVertical(
direction.Value == ScrollingDirection.Up ? Color4.Black : Color4.Black.Opacity(0),
direction.Value == ScrollingDirection.Up ? Color4.Black.Opacity(0) : Color4.Black);
e.NewValue == ScrollingDirection.Up ? Color4.Black : Color4.Black.Opacity(0),
e.NewValue == ScrollingDirection.Up ? Color4.Black.Opacity(0) : Color4.Black);
}, true);
}