mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 11:27:24 +08:00
Read line widths from skin
This commit is contained in:
parent
c3b36d8f20
commit
b8a1831d98
@ -249,6 +249,14 @@ namespace osu.Game.Skinning
|
|||||||
|
|
||||||
case LegacyManiaSkinConfigurationLookups.RightStageImage:
|
case LegacyManiaSkinConfigurationLookups.RightStageImage:
|
||||||
return SkinUtils.As<TValue>(getManiaImage(existing, "StageRight"));
|
return SkinUtils.As<TValue>(getManiaImage(existing, "StageRight"));
|
||||||
|
|
||||||
|
case LegacyManiaSkinConfigurationLookups.LeftLineWidth:
|
||||||
|
Debug.Assert(maniaLookup.TargetColumn != null);
|
||||||
|
return SkinUtils.As<TValue>(new Bindable<float>(existing.ColumnLineWidth[maniaLookup.TargetColumn.Value]));
|
||||||
|
|
||||||
|
case LegacyManiaSkinConfigurationLookups.RightLineWidth:
|
||||||
|
Debug.Assert(maniaLookup.TargetColumn != null);
|
||||||
|
return SkinUtils.As<TValue>(new Bindable<float>(existing.ColumnLineWidth[maniaLookup.TargetColumn.Value + 1]));
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user