mirror of https://github.com/ppy/osu
rearrange LaneCover members
This commit is contained in:
parent
25fb49d59f
commit
3b7d52da09
|
@ -85,6 +85,13 @@ public LaneCover()
|
|||
};
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(ManiaRulesetConfigManager configManager)
|
||||
{
|
||||
scrollDirection.BindTo(configManager.GetBindable<ManiaScrollingDirection>(ManiaRulesetSetting.ScrollDirection));
|
||||
scrollDirection.BindValueChanged(onScrollDirectionChanged, true);
|
||||
}
|
||||
|
||||
private void updateCoverage()
|
||||
{
|
||||
filled.Anchor = reversed ? Anchor.BottomLeft : Anchor.TopLeft;
|
||||
|
@ -118,13 +125,6 @@ public float Coverage
|
|||
updateCoverage();
|
||||
}
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(ManiaRulesetConfigManager configManager)
|
||||
{
|
||||
scrollDirection.BindTo(configManager.GetBindable<ManiaScrollingDirection>(ManiaRulesetSetting.ScrollDirection));
|
||||
scrollDirection.BindValueChanged(onScrollDirectionChanged, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue