VST3: fix initial display of custom plugin UI

This commit is contained in:
Robin Gareus 2020-09-23 17:57:53 +02:00
parent 704d486324
commit b8028f1239
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,8 @@ VST3HWNDPluginUI::view_realized ()
_req_width = rect.right - rect.left;
_req_height = rect.bottom - rect.top;
}
_gui_widget.queue_resize ();
}
void

View File

@ -214,6 +214,7 @@ VST3X11PluginUI::view_realized ()
_req_width = rect.right - rect.left;
_req_height = rect.bottom - rect.top;
}
_gui_widget.queue_resize ();
}
void