mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
VST3 Host: Allow resizing of plugin views
This commit is contained in:
parent
7c53711ce0
commit
eeb6230db4
1 changed files with 5 additions and 3 deletions
|
|
@ -1477,9 +1477,9 @@ static std::shared_ptr<const ARA::ARAFactory> getARAFactory (VST3ModuleHandle& m
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
struct VST3PluginWindow : public AudioProcessorEditor,
|
||||
private ComponentMovementWatcher,
|
||||
private IPlugFrame
|
||||
struct VST3PluginWindow final : public AudioProcessorEditor,
|
||||
private ComponentMovementWatcher,
|
||||
private IPlugFrame
|
||||
{
|
||||
VST3PluginWindow (AudioPluginInstance* owner, IPlugView* pluginView)
|
||||
: AudioProcessorEditor (owner),
|
||||
|
|
@ -1498,6 +1498,8 @@ struct VST3PluginWindow : public AudioProcessorEditor,
|
|||
|
||||
setContentScaleFactor();
|
||||
resizeToFit();
|
||||
|
||||
setResizable (view->canResize() == kResultTrue, false);
|
||||
}
|
||||
|
||||
~VST3PluginWindow() override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue