Use the window width rather than the background width

This commit is contained in:
JVN-Pixels
2026-06-30 12:34:31 +08:00
committed by Hundrec
parent bdf51dcd43
commit 2e4115a33c
@@ -2775,7 +2775,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
menuBG = new FlxSprite().loadGraphic(Paths.image('menuDesat'));
add(menuBG);
menuBG.setGraphicSize(Std.int(menuBG.width * 1.1));
menuBG.setGraphicSize(Std.int(FlxG.width * 1.1));
menuBG.updateHitbox();
menuBG.screenCenter();
menuBG.scrollFactor.set(0, 0);