Move spinnerFrequencyModulate set to ApplySkin

This commit is contained in:
Ron B 2020-08-15 20:51:33 +03:00
parent 61de3c7540
commit 07c25d5a78
No known key found for this signature in database
GPG Key ID: 6F5B32DE5E5FA80C

View File

@ -172,6 +172,10 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
{
positionBindable.BindValueChanged(pos => Position = pos.NewValue);
positionBindable.BindTo(HitObject.PositionBindable);
}
protected override void ApplySkin(ISkinSource skin, bool allowFallback)
{
spinnerFrequencyModulate = skin.GetConfig<OsuSkinConfiguration, bool>(OsuSkinConfiguration.SpinnerFrequencyModulate)?.Value ?? true;
}