From 814044274635109adba7e6cbe2d0b40ab908fe5a Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 5 Mar 2021 18:02:22 +0000 Subject: [PATCH] VST: Removed an old workaround causing plug-in editor window position issues on macOS --- modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp index 58b34493bb..f0f915fa2d 100644 --- a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp @@ -1169,11 +1169,6 @@ public: { auto editorBounds = getSizeToContainChild(); - #if JUCE_MAC - if (wrapper.useNSView) - setTopLeftPosition (0, getHeight() - editorBounds.getHeight()); - #endif - resizeHostWindow (editorBounds.getWidth(), editorBounds.getHeight()); {