From ed5eeedcb707683bf4afb4fb113c8d644ddf2a09 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 30 Jul 2018 09:57:40 +0100 Subject: [PATCH] Disable the live constant editor on mobile platforms and update the documentation for the setting --- modules/juce_gui_extra/juce_gui_extra.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/juce_gui_extra/juce_gui_extra.h b/modules/juce_gui_extra/juce_gui_extra.h index c637f4c7a5..8d2c287a5e 100644 --- a/modules/juce_gui_extra/juce_gui_extra.h +++ b/modules/juce_gui_extra/juce_gui_extra.h @@ -64,11 +64,12 @@ #endif /** Config: JUCE_ENABLE_LIVE_CONSTANT_EDITOR - This lets you turn on the JUCE_ENABLE_LIVE_CONSTANT_EDITOR support. See the documentation + This lets you turn on the JUCE_ENABLE_LIVE_CONSTANT_EDITOR support (desktop only). By default + this will be enabled for debug builds and disabled for release builds. See the documentation for that macro for more details. */ #ifndef JUCE_ENABLE_LIVE_CONSTANT_EDITOR - #if JUCE_DEBUG + #if JUCE_DEBUG && ! (JUCE_IOS || JUCE_ANDROID) #define JUCE_ENABLE_LIVE_CONSTANT_EDITOR 1 #endif #endif