1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-25 08:13:45 +00:00

fix HealthIcon issues (expand for details)

explicitly enable antialiasing (for switching to & from bf-old)
consistently apply scaling (for ChartingState)
This commit is contained in:
MtH 2021-07-16 04:30:19 +02:00
parent 471ffd7989
commit c9f31226e6
2 changed files with 6 additions and 4 deletions

View file

@ -818,6 +818,8 @@ class ChartingState extends MusicBeatState
leftIcon.changeIcon(_song.player2);
rightIcon.changeIcon(_song.player1);
}
leftIcon.setGraphicSize(0, 45);
rightIcon.setGraphicSize(0, 45);
}
function updateNoteUI():Void

View file

@ -61,11 +61,11 @@ class HealthIcon extends FlxSprite
char = newChar;
if (newChar.endsWith('pixel') || pixelArrayFunny.contains(newChar))
{
setGraphicSize(150);
updateHitbox();
antialiasing = false;
}
else
antialiasing = true;
setGraphicSize(150);
updateHitbox();
}
}