From 789ade200ed9d43e36681e988d628196d355f71a Mon Sep 17 00:00:00 2001 From: rdi Date: Wed, 21 Feb 2024 11:14:25 +0100 Subject: [PATCH] Fix module dragging in vcv when using invisible widgets --- include/erb/vcvrack/VcvWidgets.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/erb/vcvrack/VcvWidgets.h b/include/erb/vcvrack/VcvWidgets.h index 5926c6e0..0bc2c7fd 100755 --- a/include/erb/vcvrack/VcvWidgets.h +++ b/include/erb/vcvrack/VcvWidgets.h @@ -737,7 +737,9 @@ struct OledModule : rack::OpaqueWidget struct Invisible : rack::ParamWidget { - Invisible () = default; + Invisible () { + box.size = {0, 0}; + } void rotate (float) {} };