From 5c886372ab683ebde657e1acf74af343b1dcdc0b Mon Sep 17 00:00:00 2001 From: reuk Date: Mon, 15 Mar 2021 18:24:06 +0000 Subject: [PATCH] AudioPluginDemo: Disable corner resizer when loaded as an AUv3 --- examples/Plugins/AudioPluginDemo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Plugins/AudioPluginDemo.h b/examples/Plugins/AudioPluginDemo.h index 25be63d2a6..94a3ed2e50 100644 --- a/examples/Plugins/AudioPluginDemo.h +++ b/examples/Plugins/AudioPluginDemo.h @@ -402,7 +402,7 @@ private: // set resize limits for this plug-in setResizeLimits (400, 200, 1024, 700); - setResizable (true, true); + setResizable (true, owner.wrapperType != wrapperType_AudioUnitv3); lastUIWidth .referTo (owner.state.state.getChildWithName ("uiState").getPropertyAsValue ("width", nullptr)); lastUIHeight.referTo (owner.state.state.getChildWithName ("uiState").getPropertyAsValue ("height", nullptr));