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 @@ public class LegacyHoldNoteHeadPiece : LegacyNotePiece
{
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 @@ protected override void OnDirectionChanged(ValueChangedEvent<ScrollingDirection>
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);