mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Apply suggestions from code review
Co-Authored-By: smoogipoo <1329837+smoogipoo@users.noreply.github.com>
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user