Work around resizing bug in Surge XT/CJE

This commit is contained in:
Robbert van der Helm
2022-10-09 14:22:02 +02:00
parent 3134d7a0b0
commit 4df2b389a0
5 changed files with 69 additions and 13 deletions
+6
View File
@@ -219,6 +219,12 @@ class ClapBridge : public HostBridge {
uint16_t width,
uint16_t height);
/**
* Get the plugin instance's current editor size, if it has an active
* editor.
*/
std::optional<Size> editor_size(size_t instance_id);
protected:
void close_sockets() override;