1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

Set standalone plug-in window as resizable based on AudioProcessorEditor::isResizable()

This commit is contained in:
ed 2021-03-11 12:56:13 +00:00
parent f2fffe6757
commit 34f8afbbca

View file

@ -612,6 +612,10 @@ public:
{
centreWithSize (getWidth(), getHeight());
}
if (auto* processor = getAudioProcessor())
if (auto* editor = processor->getActiveEditor())
setResizable (editor->isResizable(), false);
#endif
}