diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index dc7981a..da70c82 100644 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -855,12 +855,12 @@ void PaulstretchpluginAudioProcessorEditor::resized() int useh = gheight; int vpminh = jmin(useh, 140); - int tabminh = 160; + int tabminh = getHeight() > 500 ? 200 : 160; int orderminh = 38; int ordermaxh = 44; #if JUCE_IOS - tabminh = 160; + tabminh = getHeight() > 500 ? 234 : 170; orderminh = 44; ordermaxh = 50; #endif @@ -891,7 +891,7 @@ void PaulstretchpluginAudioProcessorEditor::resized() int totminh = vpminh + orderminh + tabminh + topboxh + toggleh + volh + stretchH + 18; int shortthresh = vpminh + orderminh + tabminh + topboxh + toggleh; - int veryshortthresh = tabminh + topboxh + toggleh; + int veryshortthresh = tabminh + topboxh + toggleh + 40; if (getHeight() < totminh) { // not enough vertical space, put the top items in the scrollable viewport diff --git a/Source/PluginProcessor.h b/Source/PluginProcessor.h index dedc992..fae44d4 100644 --- a/Source/PluginProcessor.h +++ b/Source/PluginProcessor.h @@ -240,7 +240,11 @@ public: bool m_save_captured_audio = true; String m_capture_location; bool m_midinote_control = false; +#if JUCE_IOS + bool m_use_jumpsliders = false; +#else bool m_use_jumpsliders = true; +#endif bool m_auto_finish_record = true; std::function m_filechoose_callback; diff --git a/mobile/paulstretchplugin_ios.jucer b/mobile/paulstretchplugin_ios.jucer index 9b10caa..16c6556 100644 --- a/mobile/paulstretchplugin_ios.jucer +++ b/mobile/paulstretchplugin_ios.jucer @@ -88,7 +88,7 @@