1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

AudioPluginDemo: Disable corner resizer when loaded as an AUv3

This commit is contained in:
reuk 2021-03-15 18:24:06 +00:00
parent 8fb4541fdb
commit 5c886372ab
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -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));