1
0
Fork 0
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:
reuk 2023-05-23 12:29:24 +01:00
parent 7c53711ce0
commit eeb6230db4
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

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