1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:33:30 +08:00

add todo entries

This commit is contained in:
mcendu 2020-04-02 14:58:31 +08:00
parent f3b96f8f50
commit dae738d6a4
No known key found for this signature in database
GPG Key ID: FBCD5D45163D6364
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ namespace osu.Game.Rulesets.Mania.Skinning
{
protected override Texture GetTexture(ISkinSource skin)
{
// TODO: Should fallback to the head from default legacy skin instead of note.
return GetTextureFromLookup(skin, LegacyManiaSkinConfigurationLookups.HoldNoteHeadImage)
?? GetTextureFromLookup(skin, LegacyManiaSkinConfigurationLookups.NoteImage);
}

View File

@ -20,6 +20,7 @@ namespace osu.Game.Rulesets.Mania.Skinning
protected override Texture GetTexture(ISkinSource skin)
{
// TODO: Should fallback to the head from default legacy skin instead of note.
return GetTextureFromLookup(skin, LegacyManiaSkinConfigurationLookups.HoldNoteTailImage)
?? GetTextureFromLookup(skin, LegacyManiaSkinConfigurationLookups.HoldNoteHeadImage)
?? GetTextureFromLookup(skin, LegacyManiaSkinConfigurationLookups.NoteImage);