@@ -66,7 +66,7 @@ struct OctaveButton : Widget { | |||||
activeOctave = std::round(pq->getValue()); | activeOctave = std::round(pq->getValue()); | ||||
// Disable tinting when rack brightness is decreased | // Disable tinting when rack brightness is decreased | ||||
nvgGlobalAlpha(args.vg, 1.0); | |||||
nvgGlobalTint(args.vg, color::WHITE); | |||||
if (activeOctave == octave) { | if (activeOctave == octave) { | ||||
// Enabled | // Enabled | ||||
@@ -129,7 +129,7 @@ struct QuantizerButton : OpaqueWidget { | |||||
Rect r = box.zeroPos().grow(Vec(margin, margin / 2).neg()); | Rect r = box.zeroPos().grow(Vec(margin, margin / 2).neg()); | ||||
// Disable tinting when rack brightness is decreased | // Disable tinting when rack brightness is decreased | ||||
nvgGlobalAlpha(args.vg, 1.0); | |||||
nvgGlobalTint(args.vg, color::WHITE); | |||||
nvgBeginPath(args.vg); | nvgBeginPath(args.vg); | ||||
nvgRect(args.vg, RECT_ARGS(r)); | nvgRect(args.vg, RECT_ARGS(r)); | ||||
@@ -302,7 +302,7 @@ struct ScopeDisplay : TransparentWidget { | |||||
return; | return; | ||||
// Disable tinting when rack brightness is decreased | // Disable tinting when rack brightness is decreased | ||||
nvgGlobalAlpha(args.vg, 1.0); | |||||
nvgGlobalTint(args.vg, color::WHITE); | |||||
float gainX = std::pow(2.f, std::round(module->params[Scope::X_SCALE_PARAM].getValue())) / 10.f; | float gainX = std::pow(2.f, std::round(module->params[Scope::X_SCALE_PARAM].getValue())) / 10.f; | ||||
float gainY = std::pow(2.f, std::round(module->params[Scope::Y_SCALE_PARAM].getValue())) / 10.f; | float gainY = std::pow(2.f, std::round(module->params[Scope::Y_SCALE_PARAM].getValue())) / 10.f; | ||||
@@ -206,7 +206,7 @@ struct VCA_1VUKnob : SliderKnob { | |||||
nvgFill(args.vg); | nvgFill(args.vg); | ||||
// Disable tinting when rack brightness is decreased | // Disable tinting when rack brightness is decreased | ||||
nvgGlobalAlpha(args.vg, 1.0); | |||||
nvgGlobalTint(args.vg, color::WHITE); | |||||
const Vec margin = Vec(3, 3); | const Vec margin = Vec(3, 3); | ||||
Rect r = box.zeroPos().grow(margin.neg()); | Rect r = box.zeroPos().grow(margin.neg()); | ||||