Skip to content

Commit d979b5c

Browse files
betpowoRaltyro
andauthored
(attempt to) make icons more constantly sized between menus (#644)
Co-authored-by: Ralty <78720179+Raltyro@users.noreply.github.com>
1 parent ba50edf commit d979b5c

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

source/funkin/menus/FreeplayState.hx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,6 @@ class FreeplayState extends MusicBeatState
158158

159159
var icon:HealthIcon = new HealthIcon(songs[i].icon);
160160
icon.sprTracker = songText;
161-
icon.setUnstretchedGraphicSize(150, 150, true);
162-
icon.updateHitbox();
163161

164162
// using a FlxGroup is too much fuss!
165163
iconArray.push(icon);

source/funkin/options/type/IconOption.hx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ class IconOption extends TextOption {
1616

1717
iconSpr = new HealthIcon(icon, false);
1818
iconSpr.setPosition(90 - iconSpr.width, (__text.height - iconSpr.height) / 2);
19-
iconSpr.setUnstretchedGraphicSize(150, 150, true);
20-
iconSpr.updateHitbox();
2119
iconSpr.sprTracker = __text;
2220
iconSpr.sprTrackerAlignment = LEFT;
2321
add(iconSpr);

0 commit comments

Comments
 (0)