mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Ensure background rotation on default skins
This commit is contained in:
@ -116,6 +116,10 @@ namespace osu.Game.Screens.Backgrounds
|
|||||||
}
|
}
|
||||||
|
|
||||||
case BackgroundSource.Skin:
|
case BackgroundSource.Skin:
|
||||||
|
// default skins should use the default background rotation, which won't be the case if a SkinBackground is created for them.
|
||||||
|
if (skin.Value is DefaultSkin || skin.Value is DefaultLegacySkin)
|
||||||
|
break;
|
||||||
|
|
||||||
newBackground = new SkinBackground(skin.Value, getBackgroundTextureName());
|
newBackground = new SkinBackground(skin.Value, getBackgroundTextureName());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user