From d979b5c33d0ce0036238b4f3610f9b92f4597948 Mon Sep 17 00:00:00 2001 From: Betopia <73242725+betpowo@users.noreply.github.com> Date: Sat, 9 Aug 2025 04:21:14 -0400 Subject: [PATCH] (attempt to) make icons more constantly sized between menus (#644) Co-authored-by: Ralty <78720179+Raltyro@users.noreply.github.com> --- source/funkin/menus/FreeplayState.hx | 2 -- source/funkin/options/type/IconOption.hx | 2 -- 2 files changed, 4 deletions(-) diff --git a/source/funkin/menus/FreeplayState.hx b/source/funkin/menus/FreeplayState.hx index da855156..837efe6e 100644 --- a/source/funkin/menus/FreeplayState.hx +++ b/source/funkin/menus/FreeplayState.hx @@ -158,8 +158,6 @@ class FreeplayState extends MusicBeatState var icon:HealthIcon = new HealthIcon(songs[i].icon); icon.sprTracker = songText; - icon.setUnstretchedGraphicSize(150, 150, true); - icon.updateHitbox(); // using a FlxGroup is too much fuss! iconArray.push(icon); diff --git a/source/funkin/options/type/IconOption.hx b/source/funkin/options/type/IconOption.hx index 547c9f59..27309204 100644 --- a/source/funkin/options/type/IconOption.hx +++ b/source/funkin/options/type/IconOption.hx @@ -16,8 +16,6 @@ class IconOption extends TextOption { iconSpr = new HealthIcon(icon, false); iconSpr.setPosition(90 - iconSpr.width, (__text.height - iconSpr.height) / 2); - iconSpr.setUnstretchedGraphicSize(150, 150, true); - iconSpr.updateHitbox(); iconSpr.sprTracker = __text; iconSpr.sprTrackerAlignment = LEFT; add(iconSpr);