Browse Source

Fix deprecated SvgSlider::setHandleSVG().

tags/v2.4.0
Andrew Belt 1 year ago
parent
commit
b3c3b0e003
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/app/SvgSlider.hpp

+ 1
- 1
include/app/SvgSlider.hpp View File

@@ -30,7 +30,7 @@ struct SvgSlider : app::SliderKnob {
setBackgroundSvg(svg); setBackgroundSvg(svg);
} }
DEPRECATED void setHandleSVG(std::shared_ptr<window::Svg> svg) { DEPRECATED void setHandleSVG(std::shared_ptr<window::Svg> svg) {
setBackgroundSvg(svg);
setHandleSvg(svg);
} }
DEPRECATED void setSVGs(std::shared_ptr<window::Svg> backgroundSvg, std::shared_ptr<window::Svg> handleSvg) { DEPRECATED void setSVGs(std::shared_ptr<window::Svg> backgroundSvg, std::shared_ptr<window::Svg> handleSvg) {
setBackgroundSvg(backgroundSvg); setBackgroundSvg(backgroundSvg);


Loading…
Cancel
Save