rearrange LaneCover members

This commit is contained in:
LastExceed 2020-07-14 16:48:14 +02:00
parent 25fb49d59f
commit 3b7d52da09
1 changed files with 7 additions and 7 deletions

View File

@ -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);
}
}
}
}