updated small window size some more. jump sliders default to false on ios

This commit is contained in:
essej
2022-04-24 19:10:41 -04:00
parent f0dce0dad1
commit 006dc8636f
3 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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<void(const FileChooser&)> m_filechoose_callback;