A bit of cleanup

This commit is contained in:
smoogipoo
2018-06-11 16:10:27 +09:00
parent b9bf3a1829
commit 10d1dfa7cd
7 changed files with 7 additions and 16 deletions

View File

@ -48,8 +48,7 @@ namespace osu.Game.Rulesets.Mania.UI.Components
direction.BindTo(scrollingInfo.Direction);
direction.BindValueChanged(direction =>
{
backgroundOverlay.Anchor = direction == ScrollingDirection.Up ? Anchor.TopLeft : Anchor.BottomLeft;
backgroundOverlay.Origin = direction == ScrollingDirection.Up ? Anchor.TopLeft : Anchor.BottomLeft;
backgroundOverlay.Anchor = backgroundOverlay.Origin = direction == ScrollingDirection.Up ? Anchor.TopLeft : Anchor.BottomLeft;
updateColours();
}, true);
}