mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-04 03:40:07 +00:00
VST2: Fixed an issue with resizing plug-ins in Ableton Live
This commit is contained in:
parent
8c0331b605
commit
368d2542a1
1 changed files with 3 additions and 1 deletions
|
|
@ -1322,7 +1322,9 @@ public:
|
|||
|
||||
if (auto host = wrapper.hostCallback)
|
||||
{
|
||||
if (host (wrapper.getVstEffectInterface(), hostOpcodeCanHostDo, 0, 0, const_cast<char*> ("sizeWindow"), 0) == (pointer_sized_int) 1)
|
||||
auto status = host (wrapper.getVstEffectInterface(), hostOpcodeCanHostDo, 0, 0, const_cast<char*> ("sizeWindow"), 0);
|
||||
|
||||
if (status == (pointer_sized_int) 1 || getHostType().isAbletonLive())
|
||||
{
|
||||
isInSizeWindow = true;
|
||||
sizeWasSuccessful = (host (wrapper.getVstEffectInterface(), hostOpcodeWindowSize, newWidth, newHeight, 0, 0) != 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue