Skip to content

Commit

Permalink
Make sure editor scale doesn't change loading presets
Browse files Browse the repository at this point in the history
  • Loading branch information
FigBug committed Oct 5, 2023
1 parent 971cbc8 commit dc4df1b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/gin
6 changes: 3 additions & 3 deletions plugin/Source/Editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ void Editor::setupCallbacks()

void Editor::resized()
{
#if JUCE_DEBUG
#if JUCE_DEBUG
auto f = juce::File (__FILE__).getChildFile ("../../Resources/layout.json");

layout.setLayout ("layout.json", f);
#else
#else
layout.setLayout ("layout.json");
#endif
#endif
}
2 changes: 1 addition & 1 deletion plugin/Source/PluginEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ WavetableAudioProcessorEditor::WavetableAudioProcessorEditor (WavetableAudioProc

usage.setBounds (45, 12, 70, 16);
modOverview.setBounds (usage.getRight() + 10, 12, 150, 16);
scope.setBounds (714, 5, 177, 30);
scope.setBounds (704, 5, 187, 30);

setSize (943, 671);
}
Expand Down

0 comments on commit dc4df1b

Please sign in to comment.