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:
parent
471ffd7989
commit
c9f31226e6
|
@ -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
|
||||
|
|
|
@ -61,11 +61,11 @@ class HealthIcon extends FlxSprite
|
|||
char = newChar;
|
||||
|
||||
if (newChar.endsWith('pixel') || pixelArrayFunny.contains(newChar))
|
||||
{
|
||||
antialiasing = false;
|
||||
else
|
||||
antialiasing = true;
|
||||
setGraphicSize(150);
|
||||
updateHitbox();
|
||||
antialiasing = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue