Make sure editor scale doesn't change loading presets

This commit is contained in:
Roland Rabien 2023-10-05 05:42:08 -07:00
commit dc4df1bb38
3 changed files with 5 additions and 5 deletions

@ -1 +1 @@
Subproject commit 7486e86f665dc439048394934d06ebba19df5f73 Subproject commit 4d8bb03579771aec717245003c845cfb04abb67d

View file

@ -30,11 +30,11 @@ void Editor::setupCallbacks()
void Editor::resized() void Editor::resized()
{ {
#if JUCE_DEBUG #if JUCE_DEBUG
auto f = juce::File (__FILE__).getChildFile ("../../Resources/layout.json"); auto f = juce::File (__FILE__).getChildFile ("../../Resources/layout.json");
layout.setLayout ("layout.json", f); layout.setLayout ("layout.json", f);
#else #else
layout.setLayout ("layout.json"); layout.setLayout ("layout.json");
#endif #endif
} }

View file

@ -25,7 +25,7 @@ WavetableAudioProcessorEditor::WavetableAudioProcessorEditor (WavetableAudioProc
usage.setBounds (45, 12, 70, 16); usage.setBounds (45, 12, 70, 16);
modOverview.setBounds (usage.getRight() + 10, 12, 150, 16); modOverview.setBounds (usage.getRight() + 10, 12, 150, 16);
scope.setBounds (714, 5, 177, 30); scope.setBounds (704, 5, 187, 30);
setSize (943, 671); setSize (943, 671);
} }