mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
VST3: work-around endless/recursive resize requests
Some plugins correct their own size when resized which can lead to endlessly growing GUIs. In particular this issue exists if Ardour's plugin-toolbar forces a plugin to grow in size to fill the allocated space. While the plugin aims for fixed aspect-ratio. This will need a proper solution involving VST's checkSizeConstraint, however GTK+2 does not have an appropriate API...
This commit is contained in:
parent
5dc3f2a320
commit
67b1481c12
6 changed files with 18 additions and 16 deletions
|
|
@ -57,6 +57,8 @@ protected:
|
|||
int _req_width;
|
||||
int _req_height;
|
||||
|
||||
bool _resize_in_progress;
|
||||
|
||||
private:
|
||||
void parameter_update ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue