Skip to content

Commit 5acabcc

Browse files
committed
Fix pixel icons in CharterStrumline
1 parent 66c1cd9 commit 5acabcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/funkin/editors/charter/CharterStrumline.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class CharterStrumline extends UISprite {
127127
var maxRow = Math.floor((icons.length-1) / 4) + 1;
128128
for (i=>icon in icons) {
129129
var healthIcon = new HealthIcon(Character.getIconFromCharName(icon));
130-
healthIcon.scale.x = healthIcon.scale.y = Math.max((0.6 - (icons.length / 20)), 0.35);
130+
healthIcon.scale.x = healthIcon.scale.y = Math.max((0.6 - (icons.length / 20)), 0.35) * healthIcon.defaultScale;
131131
healthIcon.updateHitbox();
132132
healthIcon.x = FlxMath.lerp(0, Math.min(icons.length * 20, 120), (maxCol-1 != 0 ? (i % 4) / (maxCol-1) : 0));
133133
healthIcon.y = (draggable ? 14 : 7) + FlxMath.lerp(0, Math.min(maxRow * 15, 60), (maxRow-1 != 0 ? Math.floor(i / 4) / (maxRow-1) : 0));

0 commit comments

Comments
 (0)