mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 01:55:52 -05: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
2 changed files with 6 additions and 4 deletions
|
@ -818,6 +818,8 @@ class ChartingState extends MusicBeatState
|
||||||
leftIcon.changeIcon(_song.player2);
|
leftIcon.changeIcon(_song.player2);
|
||||||
rightIcon.changeIcon(_song.player1);
|
rightIcon.changeIcon(_song.player1);
|
||||||
}
|
}
|
||||||
|
leftIcon.setGraphicSize(0, 45);
|
||||||
|
rightIcon.setGraphicSize(0, 45);
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateNoteUI():Void
|
function updateNoteUI():Void
|
||||||
|
|
|
@ -61,11 +61,11 @@ class HealthIcon extends FlxSprite
|
||||||
char = newChar;
|
char = newChar;
|
||||||
|
|
||||||
if (newChar.endsWith('pixel') || pixelArrayFunny.contains(newChar))
|
if (newChar.endsWith('pixel') || pixelArrayFunny.contains(newChar))
|
||||||
{
|
|
||||||
setGraphicSize(150);
|
|
||||||
updateHitbox();
|
|
||||||
antialiasing = false;
|
antialiasing = false;
|
||||||
}
|
else
|
||||||
|
antialiasing = true;
|
||||||
|
setGraphicSize(150);
|
||||||
|
updateHitbox();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue