mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-03-27 20:40:31 +00:00
Disable chart editor on web until it's fixed.
This commit is contained in:
parent
a2c38a3e17
commit
b6247c933a
|
@ -239,6 +239,12 @@
|
||||||
<haxedef name="FILE_DROP_SUPPORTED" />
|
<haxedef name="FILE_DROP_SUPPORTED" />
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<!-- Enable this on platforms which do not support the edsior views. -->
|
||||||
|
<haxedef name="CHART_EDITOR_UNSUPPORTED" if="html5" />
|
||||||
|
<section unless="CHART_EDITOR_UNSUPPORTED">
|
||||||
|
<haxedef name="CHART_EDITOR_SUPPORTED" />
|
||||||
|
</section>
|
||||||
|
|
||||||
<!-- Options for Polymod -->
|
<!-- Options for Polymod -->
|
||||||
<section if="polymod">
|
<section if="polymod">
|
||||||
<!-- Turns on additional debug logging. -->
|
<!-- Turns on additional debug logging. -->
|
||||||
|
|
|
@ -2529,6 +2529,7 @@ class PlayState extends MusicBeatSubState
|
||||||
if (FlxG.keys.justPressed.H) camHUD.visible = !camHUD.visible;
|
if (FlxG.keys.justPressed.H) camHUD.visible = !camHUD.visible;
|
||||||
#end
|
#end
|
||||||
|
|
||||||
|
#if CHART_EDITOR_SUPPORTED
|
||||||
// Open the stage editor overlaying the current state.
|
// Open the stage editor overlaying the current state.
|
||||||
if (controls.DEBUG_STAGE)
|
if (controls.DEBUG_STAGE)
|
||||||
{
|
{
|
||||||
|
@ -2548,6 +2549,7 @@ class PlayState extends MusicBeatSubState
|
||||||
targetSongId: currentSong.id,
|
targetSongId: currentSong.id,
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
#end
|
||||||
|
|
||||||
#if (debug || FORCE_DEBUG_VERSION)
|
#if (debug || FORCE_DEBUG_VERSION)
|
||||||
// 1: End the song immediately.
|
// 1: End the song immediately.
|
||||||
|
|
|
@ -323,10 +323,12 @@ class MainMenuState extends MusicBeatState
|
||||||
}
|
}
|
||||||
|
|
||||||
// Open the debug menu, defaults to ` / ~
|
// Open the debug menu, defaults to ` / ~
|
||||||
|
#if CHART_EDITOR_SUPPORTED
|
||||||
if (controls.DEBUG_MENU)
|
if (controls.DEBUG_MENU)
|
||||||
{
|
{
|
||||||
FlxG.state.openSubState(new DebugMenuSubState());
|
FlxG.state.openSubState(new DebugMenuSubState());
|
||||||
}
|
}
|
||||||
|
#end
|
||||||
|
|
||||||
#if (debug || FORCE_DEBUG_VERSION)
|
#if (debug || FORCE_DEBUG_VERSION)
|
||||||
if (FlxG.keys.pressed.CONTROL && FlxG.keys.pressed.ALT && FlxG.keys.pressed.SHIFT && FlxG.keys.justPressed.W)
|
if (FlxG.keys.pressed.CONTROL && FlxG.keys.pressed.ALT && FlxG.keys.pressed.SHIFT && FlxG.keys.justPressed.W)
|
||||||
|
|
Loading…
Reference in a new issue