magenta menu bg scroll factor fix

idk why this was changed in the first place but the scrollfactor is now the same as the yellow bg so it doesn't jitter up and down a little bit when menu flashes
This commit is contained in:
Sector03 2021-05-18 16:34:23 -04:00
parent b9f28be074
commit 03c150201e

View File

@ -73,7 +73,7 @@ class MainMenuState extends MusicBeatState
magenta = new FlxSprite(-80).loadGraphic(Paths.image('menuDesat')); magenta = new FlxSprite(-80).loadGraphic(Paths.image('menuDesat'));
magenta.scrollFactor.x = 0; magenta.scrollFactor.x = 0;
magenta.scrollFactor.y = 0.18; magenta.scrollFactor.y = 0.15;
magenta.setGraphicSize(Std.int(magenta.width * 1.1)); magenta.setGraphicSize(Std.int(magenta.width * 1.1));
magenta.updateHitbox(); magenta.updateHitbox();
magenta.screenCenter(); magenta.screenCenter();