1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +08:00

rearrange LaneCover members

This commit is contained in:
LastExceed 2020-07-14 16:48:14 +02:00
parent 25fb49d59f
commit 3b7d52da09

View File

@ -85,6 +85,13 @@ namespace osu.Game.Rulesets.Mania.Mods
};
}
[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 @@ namespace osu.Game.Rulesets.Mania.Mods
updateCoverage();
}
}
[BackgroundDependencyLoader]
private void load(ManiaRulesetConfigManager configManager)
{
scrollDirection.BindTo(configManager.GetBindable<ManiaScrollingDirection>(ManiaRulesetSetting.ScrollDirection));
scrollDirection.BindValueChanged(onScrollDirectionChanged, true);
}
}
}
}