Disable screenshots for mobile platforms

This commit is contained in:
MAJigsaw77
2025-04-17 13:08:07 +03:00
committed by KarimAkra
parent 828de1c512
commit edfcfc8c55
+3 -3
View File
@@ -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());