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 e45fe10dbd..58b34493bb 100644 --- a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp @@ -1117,11 +1117,6 @@ public: { auto newBounds = getLocalBounds(); - #if JUCE_WINDOWS && JUCE_WIN_PER_MONITOR_DPI_AWARE - if (! lastBounds.isEmpty() && isWithin (newBounds.toDouble().getAspectRatio(), lastBounds.toDouble().getAspectRatio(), 0.001)) - return; - #endif - { const ScopedValueSetter resizingChildSetter (resizingChild, true); pluginEditor->setBounds (pluginEditor->getLocalArea (this, newBounds).withPosition (0, 0)); diff --git a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp index 7f6d68668e..2ffe8185cc 100644 --- a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp @@ -1580,11 +1580,6 @@ private: { auto newBounds = getLocalBounds(); - #if JUCE_WINDOWS && JUCE_WIN_PER_MONITOR_DPI_AWARE - if (! lastBounds.isEmpty() && isWithin (newBounds.toDouble().getAspectRatio(), lastBounds.toDouble().getAspectRatio(), 0.001)) - return; - #endif - { const ScopedValueSetter resizingChildSetter (resizingChild, true); pluginEditor->setBounds (pluginEditor->getLocalArea (this, newBounds).withPosition (0, 0));