mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Apply suggestions from code review
Co-Authored-By: smoogipoo <1329837+smoogipoo@users.noreply.github.com>
This commit is contained in:
@ -51,7 +51,7 @@ namespace osu.Game.Rulesets.Mania.UI.Components
|
||||
direction.BindTo(scrollingInfo.Direction);
|
||||
direction.BindValueChanged(e =>
|
||||
{
|
||||
Anchor anchor = direction.Value == ScrollingDirection.Up ? Anchor.TopLeft : Anchor.BottomLeft;
|
||||
Anchor anchor = e.NewValue == ScrollingDirection.Up ? Anchor.TopLeft : Anchor.BottomLeft;
|
||||
|
||||
hitTargetBar.Anchor = hitTargetBar.Origin = anchor;
|
||||
hitTargetLine.Anchor = hitTargetLine.Origin = anchor;
|
||||
|
Reference in New Issue
Block a user