Skip to content

Commit

Permalink
Fix LightSlider positions
Browse files Browse the repository at this point in the history
  • Loading branch information
danngreen committed Aug 22, 2024
1 parent 9d94c8c commit 5b3ffe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/vcv_plugin/export/src/app/SvgSlider.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ SvgSlider::SvgSlider()
SvgSlider::~SvgSlider() = default;

void SvgSlider::setBackgroundSvg(std::shared_ptr<window::Svg> 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");
}
Expand Down

0 comments on commit 5b3ffe5

Please sign in to comment.