mirror of https://github.com/ppy/osu
f5f0b94944
The recently-modified skin texture fallback logic was very subtly incorrect. If at the end of the first loop no texture was found, it would be checked for null to avoid setting scale adjust on a null texture, but then returned anyway, bypassing the fallback logic for subsequent possible paths entirely. Invert the check and explicitly continue to the next fallback path if neither a 2x, nor 1x texture with the given name is found in the store. |
||
---|---|---|
.. | ||
BeatmapSkinProvidingContainer.cs | ||
DefaultLegacySkin.cs | ||
DefaultSkin.cs | ||
DefaultSkinConfiguration.cs | ||
GameplaySkinComponent.cs | ||
GlobalSkinColours.cs | ||
GlobalSkinConfiguration.cs | ||
IAnimationTimeReference.cs | ||
ISkin.cs | ||
ISkinComponent.cs | ||
ISkinSource.cs | ||
LegacyBeatmapSkin.cs | ||
LegacyManiaSkinConfiguration.cs | ||
LegacyManiaSkinConfigurationLookup.cs | ||
LegacyManiaSkinDecoder.cs | ||
LegacySkin.cs | ||
LegacySkinConfiguration.cs | ||
LegacySkinDecoder.cs | ||
LegacySkinExtensions.cs | ||
LegacySkinResourceStore.cs | ||
LegacySpriteText.cs | ||
Skin.cs | ||
SkinConfigManager.cs | ||
SkinConfiguration.cs | ||
SkinCustomColourLookup.cs | ||
SkinFileInfo.cs | ||
SkinInfo.cs | ||
SkinManager.cs | ||
SkinProvidingContainer.cs | ||
SkinReloadableDrawable.cs | ||
SkinStore.cs | ||
SkinUtils.cs | ||
SkinnableDrawable.cs | ||
SkinnableSound.cs | ||
SkinnableSprite.cs | ||
SkinnableSpriteText.cs |