mirror of
https://github.com/ppy/osu
synced 2025-01-11 08:39:31 +00:00
apply ScorePosition to the judgement container
This commit is contained in:
parent
f14e49c72e
commit
2108844319
@ -181,9 +181,8 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
|
||||
protected override void OnSkinChanged()
|
||||
{
|
||||
judgements.ScorePosition = CurrentSkin.GetConfig<ManiaSkinConfigurationLookup, float>(
|
||||
new ManiaSkinConfigurationLookup(LegacyManiaSkinConfigurationLookups.ScorePosition))
|
||||
?.Value ?? 0;
|
||||
judgements.ScorePosition = CurrentSkin.GetManiaSkinConfig<float>(LegacyManiaSkinConfigurationLookups.ScorePosition)
|
||||
?.Value ?? 0;
|
||||
}
|
||||
|
||||
protected override void Update()
|
||||
|
@ -35,7 +35,7 @@ namespace osu.Game.Skinning
|
||||
|
||||
public float HitPosition = (480 - 402) * POSITION_SCALE_FACTOR;
|
||||
public float LightPosition = (480 - 413) * POSITION_SCALE_FACTOR;
|
||||
public float ScorePosition = (480 - 402 + 150) * POSITION_SCALE_FACTOR;
|
||||
public float ScorePosition = (480 - 300) * POSITION_SCALE_FACTOR;
|
||||
public bool ShowJudgementLine = true;
|
||||
public bool KeysUnderNotes;
|
||||
|
||||
|
@ -169,6 +169,9 @@ namespace osu.Game.Skinning
|
||||
case LegacyManiaSkinConfigurationLookups.HitPosition:
|
||||
return SkinUtils.As<TValue>(new Bindable<float>(existing.HitPosition));
|
||||
|
||||
case LegacyManiaSkinConfigurationLookups.ScorePosition:
|
||||
return SkinUtils.As<TValue>(new Bindable<float>(existing.ScorePosition));
|
||||
|
||||
case LegacyManiaSkinConfigurationLookups.LightPosition:
|
||||
return SkinUtils.As<TValue>(new Bindable<float>(existing.LightPosition));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user