2
0
Fork 0

Update PluginEditor.cpp

This commit is contained in:
George Reales 2020-08-10 12:59:00 +02:00
parent 5915e1aa29
commit 8b8f0fc1bd
1 changed files with 6 additions and 1 deletions

View File

@ -230,7 +230,12 @@ void ObxdAudioProcessorEditor::placeLabel (int x, int y, String text)
ButtonList* ObxdAudioProcessorEditor::addList (int x, int y, int width, int height, ObxdAudioProcessor& filter, int parameter, String /*name*/, Image img)
{
ButtonList *bl = new ButtonList (img, height*2);
#if JUCE_WINDOWS || JUCE_LINUX
ButtonList *bl = new ButtonList (img, height);
#else
ButtonList *bl = new ButtonList (img, height*2);
#endif
buttonListAttachments.add (new ButtonList::ButtonListAttachment (filter.getPluginState(),
filter.getEngineParameterId (parameter),
*bl));