2
0
Fork 0

Update PluginEditor.cpp

VST3 drop down issue fix
This commit is contained in:
George Reales 2020-12-15 09:41:28 +01:00
parent c6aea08d95
commit c9f5a66302

View file

@ -39,7 +39,11 @@ ObxdAudioProcessorEditor::ObxdAudioProcessorEditor (ObxdAudioProcessor& ownerFil
getTopLevelComponent()->addKeyListener (commandManager.getKeyMappings()); getTopLevelComponent()->addKeyListener (commandManager.getKeyMappings());
//Timer::callAfterDelay (100, [this] { this->grabKeyboardFocus(); }); // ensure that key presses are sent to the KeyPressTarget object //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); loadSkin (processor);
repaint(); repaint();