mirror of
https://github.com/ppy/osu
synced 2025-01-28 00:32:59 +00:00
Rename left-over skinnable
naming in SerialisedDrawableExtensions
This commit is contained in:
parent
76f7accd13
commit
81dcc105a9
@ -22,9 +22,9 @@ namespace osu.Game.Skinning
|
|||||||
component.Anchor = drawableInfo.Anchor;
|
component.Anchor = drawableInfo.Anchor;
|
||||||
component.Origin = drawableInfo.Origin;
|
component.Origin = drawableInfo.Origin;
|
||||||
|
|
||||||
if (component is ISerialisableDrawable skinnable)
|
if (component is ISerialisableDrawable serialisableDrawable)
|
||||||
{
|
{
|
||||||
skinnable.UsesFixedAnchor = drawableInfo.UsesFixedAnchor;
|
serialisableDrawable.UsesFixedAnchor = drawableInfo.UsesFixedAnchor;
|
||||||
|
|
||||||
foreach (var (_, property) in component.GetSettingsSourceProperties())
|
foreach (var (_, property) in component.GetSettingsSourceProperties())
|
||||||
{
|
{
|
||||||
@ -37,7 +37,7 @@ namespace osu.Game.Skinning
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
skinnable.CopyAdjustedSetting(bindable, settingValue);
|
serialisableDrawable.CopyAdjustedSetting(bindable, settingValue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user