2
0
Fork 0

Update PluginEditor.h

Fix macOS GUI windows always on top after JUCE 6.1.6 update
This commit is contained in:
George Reales 2022-03-30 17:22:35 +02:00
parent 443fa4cd18
commit 4143ace55c
1 changed files with 1 additions and 5 deletions

View File

@ -85,11 +85,7 @@ public:
void buttonClicked (Button *) override;
//bool keyPressed(const KeyPress & press) override;
void timerCallback() override {
#if JUCE_WINDOWS || JUCE_LINUX
// No run timer to grab component on window
#else
this->grabKeyboardFocus();
#endif
countTimer ++;
if (countTimer == 4 && needNotifytoHost){
countTimer = 0;