From c9f5a6630230195ce70b065c44f430f98238a5fa Mon Sep 17 00:00:00 2001 From: George Reales Date: Tue, 15 Dec 2020 09:41:28 +0100 Subject: [PATCH] Update PluginEditor.cpp VST3 drop down issue fix --- Source/PluginEditor.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index c01ca10..3b733b0 100755 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -39,7 +39,11 @@ ObxdAudioProcessorEditor::ObxdAudioProcessorEditor (ObxdAudioProcessor& ownerFil getTopLevelComponent()->addKeyListener (commandManager.getKeyMappings()); //Timer::callAfterDelay (100, [this] { this->grabKeyboardFocus(); }); // ensure that key presses are sent to the KeyPressTarget object - startTimer(100); +#if JUCE_WINDOWS + // No run timer to grab component on window +#else + startTimer(100); // This will fix the issue +#endif loadSkin (processor); repaint();