From 743d053db8a63117b619c442a55c0f3ce99ec641 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 9 Nov 2021 16:59:24 -0500 Subject: [PATCH] Remove bg from SynthTechAlco. --- include/componentlibrary.hpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/include/componentlibrary.hpp b/include/componentlibrary.hpp index bbde1573..4dc8b433 100644 --- a/include/componentlibrary.hpp +++ b/include/componentlibrary.hpp @@ -621,20 +621,16 @@ struct Rogan1PWhite : Rogan { struct SynthTechAlco : app::SvgKnob { widget::SvgWidget* bg; - widget::SvgWidget* fg; SynthTechAlco() { + minAngle = -0.82 * M_PI; + maxAngle = 0.82 * M_PI; + bg = new widget::SvgWidget; fb->addChildBelow(bg, tw); - fg = new widget::SvgWidget; - fb->addChildAbove(fg, tw); - - minAngle = -0.82 * M_PI; - maxAngle = 0.82 * M_PI; setSvg(Svg::load(asset::system("res/ComponentLibrary/SynthTechAlco.svg"))); bg->setSvg(Svg::load(asset::system("res/ComponentLibrary/SynthTechAlco_bg.svg"))); - fg->setSvg(Svg::load(asset::system("res/ComponentLibrary/SynthTechAlco_fg.svg"))); } };