mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-14 19:25:16 -05:00
Only display the Stage Editor in builds that enable it, and enable it by default (this re-enables the Stage Editor keybind).
This commit is contained in:
parent
4effd709eb
commit
ce85ee20a7
2 changed files with 7 additions and 5 deletions
|
@ -460,7 +460,6 @@ class Project extends HXProject {
|
||||||
|
|
||||||
// Should be false unless explicitly requested.
|
// Should be false unless explicitly requested.
|
||||||
GITHUB_BUILD.apply(this, false);
|
GITHUB_BUILD.apply(this, false);
|
||||||
FEATURE_STAGE_EDITOR.apply(this, false);
|
|
||||||
FEATURE_NEWGROUNDS.apply(this, false);
|
FEATURE_NEWGROUNDS.apply(this, false);
|
||||||
FEATURE_GHOST_TAPPING.apply(this, false);
|
FEATURE_GHOST_TAPPING.apply(this, false);
|
||||||
|
|
||||||
|
@ -471,6 +470,7 @@ class Project extends HXProject {
|
||||||
FEATURE_FUNKVIS.apply(this, true);
|
FEATURE_FUNKVIS.apply(this, true);
|
||||||
FEATURE_PARTIAL_SOUNDS.apply(this, true);
|
FEATURE_PARTIAL_SOUNDS.apply(this, true);
|
||||||
FEATURE_VIDEO_PLAYBACK.apply(this, true);
|
FEATURE_VIDEO_PLAYBACK.apply(this, true);
|
||||||
|
FEATURE_STAGE_EDITOR.apply(this, true);
|
||||||
|
|
||||||
// Should be true on debug builds or if GITHUB_BUILD is enabled.
|
// Should be true on debug builds or if GITHUB_BUILD is enabled.
|
||||||
FEATURE_DEBUG_FUNCTIONS.apply(this, isDebug() || GITHUB_BUILD.isEnabled(this));
|
FEATURE_DEBUG_FUNCTIONS.apply(this, isDebug() || GITHUB_BUILD.isEnabled(this));
|
||||||
|
|
|
@ -55,12 +55,14 @@ class DebugMenuSubState extends MusicBeatSubState
|
||||||
// Create each menu item.
|
// Create each menu item.
|
||||||
// Call onMenuChange when the first item is created to move the camera .
|
// Call onMenuChange when the first item is created to move the camera .
|
||||||
#if FEATURE_CHART_EDITOR
|
#if FEATURE_CHART_EDITOR
|
||||||
onMenuChange(createItem("CHART EDITOR", openChartEditor));
|
createItem("CHART EDITOR", openChartEditor);
|
||||||
|
#end
|
||||||
|
createItem("ANIMATION EDITOR", openAnimationEditor);
|
||||||
|
#if FEATURE_STAGE_EDITOR
|
||||||
|
createItem("STAGE EDITOR", openStageEditor);
|
||||||
#end
|
#end
|
||||||
// createItem("Input Offset Testing", openInputOffsetTesting);
|
// createItem("Input Offset Testing", openInputOffsetTesting);
|
||||||
createItem("CHARACTER SELECT", openCharSelect, true);
|
// createItem("CHARACTER SELECT", openCharSelect, true);
|
||||||
createItem("ANIMATION EDITOR", openAnimationEditor);
|
|
||||||
createItem("STAGE EDITOR", openStageEditor);
|
|
||||||
// createItem("TEST STICKERS", testStickers);
|
// createItem("TEST STICKERS", testStickers);
|
||||||
#if sys
|
#if sys
|
||||||
createItem("OPEN CRASH LOG FOLDER", openLogFolder);
|
createItem("OPEN CRASH LOG FOLDER", openLogFolder);
|
||||||
|
|
Loading…
Reference in a new issue