Fixed playstate not removing the black bars when loading it
This commit is contained in:
@@ -82,6 +82,7 @@ class GitarooPause extends MusicBeatState
|
||||
{
|
||||
FlxTransitionableState.skipNextTransIn = false;
|
||||
FlxTransitionableState.skipNextTransOut = false;
|
||||
if (funkin.ui.FullScreenScaleMode.instance != null) funkin.ui.FullScreenScaleMode.instance.onMeasurePostAwait();
|
||||
FlxG.switchState(() -> new PlayState(previousParams));
|
||||
}
|
||||
else
|
||||
|
||||
@@ -229,6 +229,8 @@ class LoadingState extends MusicBeatSubState
|
||||
stageDirectory = daStage?._data?.directory ?? "shared";
|
||||
Paths.setCurrentLevel(stageDirectory);
|
||||
|
||||
if (funkin.ui.FullScreenScaleMode.instance != null) funkin.ui.FullScreenScaleMode.instance.onMeasurePostAwait();
|
||||
|
||||
var playStateCtor:() -> PlayState = function() {
|
||||
return new PlayState(params);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user