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:
parent
f2fffe6757
commit
34f8afbbca
1 changed files with 4 additions and 0 deletions
|
|
@ -612,6 +612,10 @@ public:
|
|||
{
|
||||
centreWithSize (getWidth(), getHeight());
|
||||
}
|
||||
|
||||
if (auto* processor = getAudioProcessor())
|
||||
if (auto* editor = processor->getActiveEditor())
|
||||
setResizable (editor->isResizable(), false);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue