Update PluginEditor.h
Fix macOS GUI windows always on top after JUCE 6.1.6 update
This commit is contained in:
parent
443fa4cd18
commit
4143ace55c
1 changed files with 1 additions and 5 deletions
|
@ -85,11 +85,7 @@ public:
|
||||||
void buttonClicked (Button *) override;
|
void buttonClicked (Button *) override;
|
||||||
//bool keyPressed(const KeyPress & press) override;
|
//bool keyPressed(const KeyPress & press) override;
|
||||||
void timerCallback() override {
|
void timerCallback() override {
|
||||||
#if JUCE_WINDOWS || JUCE_LINUX
|
|
||||||
// No run timer to grab component on window
|
|
||||||
#else
|
|
||||||
this->grabKeyboardFocus();
|
|
||||||
#endif
|
|
||||||
countTimer ++;
|
countTimer ++;
|
||||||
if (countTimer == 4 && needNotifytoHost){
|
if (countTimer == 4 && needNotifytoHost){
|
||||||
countTimer = 0;
|
countTimer = 0;
|
||||||
|
|
Loading…
Reference in a new issue