From e7a095be45c24453303ba5a9154b5b5e18a36be8 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 10 Sep 2022 11:16:23 +0100 Subject: [PATCH] Fix clap UIs not starting with correct values Signed-off-by: falkTX --- distrho/src/DistrhoPluginCLAP.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/distrho/src/DistrhoPluginCLAP.cpp b/distrho/src/DistrhoPluginCLAP.cpp index a9aeda76..5bc2cd4f 100644 --- a/distrho/src/DistrhoPluginCLAP.cpp +++ b/distrho/src/DistrhoPluginCLAP.cpp @@ -483,6 +483,15 @@ private: fPlugin.getInstancePointer(), fScaleFactor); + // TODO fetch and set state too + + for (uint32_t i=0; iparameterChanged(i, value); + } + if (fIsFloating) { if (fWindowTitle.isNotEmpty())