From 5b3ffe5efc8fd68c891f3c87b9a9578b6819ade5 Mon Sep 17 00:00:00 2001 From: Dan Green Date: Wed, 21 Aug 2024 21:56:08 -0700 Subject: [PATCH] Fix LightSlider positions --- firmware/vcv_plugin/export/src/app/SvgSlider.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/vcv_plugin/export/src/app/SvgSlider.cc b/firmware/vcv_plugin/export/src/app/SvgSlider.cc index 2fe80bede..19a52f221 100644 --- a/firmware/vcv_plugin/export/src/app/SvgSlider.cc +++ b/firmware/vcv_plugin/export/src/app/SvgSlider.cc @@ -18,10 +18,10 @@ SvgSlider::SvgSlider() SvgSlider::~SvgSlider() = default; void SvgSlider::setBackgroundSvg(std::shared_ptr svg) { - //TODO: should we just set this->SvgWidget::svg_filename here? then we don't have to special-case it in make_element if (svg && svg->filename.size()) { background->svg = svg; background->box.size = get_svg_size(background->svg->filename); + this->box = background->box; } else pr_warn("Svgslider: Svg bg with empty name\n"); }