From 9f3069b2f33b8fcb00e43eb713fdbe4143f14096 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 24 Sep 2022 13:00:54 +0100 Subject: [PATCH] Fix VST2 UI size after last changes Signed-off-by: falkTX --- distrho/src/xaymar-vst2/vst.h | 4 ++-- examples/SendNote/SendNoteExampleUI.cpp | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/distrho/src/xaymar-vst2/vst.h b/distrho/src/xaymar-vst2/vst.h index d61aaee8..b6df35eb 100644 --- a/distrho/src/xaymar-vst2/vst.h +++ b/distrho/src/xaymar-vst2/vst.h @@ -796,10 +796,10 @@ enum VST_PARAMETER_FLAGS { |*/ struct vst_rect { - int16_t left; int16_t top; - int16_t right; + int16_t left; int16_t bottom; + int16_t right; }; struct vst_effect { diff --git a/examples/SendNote/SendNoteExampleUI.cpp b/examples/SendNote/SendNoteExampleUI.cpp index 8d945758..75a28ea2 100644 --- a/examples/SendNote/SendNoteExampleUI.cpp +++ b/examples/SendNote/SendNoteExampleUI.cpp @@ -29,7 +29,6 @@ using DGL_NAMESPACE::Color; using DGL_NAMESPACE::GraphicsContext; using DGL_NAMESPACE::Rectangle; - // ----------------------------------------------------------------------------------------------------------- class SendNoteExampleUI : public UI