Update PluginEditor.cpp
VST3 drop down issue fix
This commit is contained in:
parent
c6aea08d95
commit
c9f5a66302
1 changed files with 5 additions and 1 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue