prepare VST window resize
(this only triggers resizing the parent container window (like user resizes), which is not sufficient for all plugins.
This commit is contained in:
parent
74e4081ef4
commit
6f347d325a
@ -318,7 +318,9 @@ intptr_t Session::vst_callback (
|
|||||||
|
|
||||||
case audioMasterSizeWindow:
|
case audioMasterSizeWindow:
|
||||||
SHOW_CALLBACK ("audioMasterSizeWindow");
|
SHOW_CALLBACK ("audioMasterSizeWindow");
|
||||||
// index: width, value: height
|
plug->state()->width = index;
|
||||||
|
plug->state()->height = value;
|
||||||
|
plug->state()->want_resize = 1;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
case audioMasterGetSampleRate:
|
case audioMasterGetSampleRate:
|
||||||
|
Loading…
Reference in New Issue
Block a user