From edfcfc8c5532b72eddc2167dccde0128fd9a9239 Mon Sep 17 00:00:00 2001 From: MAJigsaw77 <77043862+MAJigsaw77@users.noreply.github.com> Date: Wed, 9 Apr 2025 09:34:31 +0300 Subject: [PATCH] Disable screenshots for mobile platforms --- project.hxp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/project.hxp b/project.hxp index acc7a23b6..435370854 100644 --- a/project.hxp +++ b/project.hxp @@ -626,9 +626,9 @@ class Project extends HXProject { // Chart editor doesn't work there. FEATURE_CHART_EDITOR.apply(this, !(isWeb() || isMobile())); - // Should be true except on web builds. - // Screenshots doesn't work there. - FEATURE_SCREENSHOTS.apply(this, !isWeb()); + // Should be true except on web and mobile builds. + // Screenshots doesn't work there. + FEATURE_SCREENSHOTS.apply(this, !(isWeb() || isMobile())); // Should be true only on mobile builds. TOUCH_CONTROLS.apply(this, isMobile());