From fbbc0b2dcc5ffd5c08fd94f319415d78599d50b7 Mon Sep 17 00:00:00 2001 From: Mihai Alexandru <77043862+MAJigsaw77@users.noreply.github.com> Date: Wed, 8 Oct 2025 08:02:01 +0300 Subject: [PATCH] Adjust logic. --- project.hxp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/project.hxp b/project.hxp index 48faf26b2..a8f3880e6 100644 --- a/project.hxp +++ b/project.hxp @@ -853,11 +853,11 @@ class Project extends HXProject // Should be true except on web and mobile builds. // Debug editors aren't built to work on web or mobile right now. - FEATURE_HAXEUI.apply(this, !(isWeb() || isMobile())); - FEATURE_DEBUG_MENU.apply(this, FEATURE_HAXEUI.isEnabled(this)); - FEATURE_ANIMATION_EDITOR.apply(this, FEATURE_HAXEUI.isEnabled(this)); - FEATURE_CHART_EDITOR.apply(this, FEATURE_HAXEUI.isEnabled(this)); - FEATURE_STAGE_EDITOR.apply(this, FEATURE_HAXEUI.isEnabled(this)); + FEATURE_DEBUG_MENU.apply(this, !(isWeb() || isMobile())); + FEATURE_ANIMATION_EDITOR.apply(this, !(isWeb() || isMobile())); + FEATURE_CHART_EDITOR.apply(this, !(isWeb() || isMobile())); + FEATURE_STAGE_EDITOR.apply(this, !(isWeb() || isMobile())); + FEATURE_HAXEUI.apply(this, FEATURE_ANIMATION_EDITOR.isEnabled(this) || FEATURE_CHART_EDITOR.isEnabled(this) || FEATURE_STAGE_EDITOR.isEnabled(this)); // Should be true except on web builds (some asset stuff breaks it) FEATURE_LAG_ADJUSTMENT.apply(this, !isWeb());