diff --git a/src/app/LedDisplay.cpp b/src/app/LedDisplay.cpp index acce2885..734107ae 100644 --- a/src/app/LedDisplay.cpp +++ b/src/app/LedDisplay.cpp @@ -54,7 +54,7 @@ void LedDisplayChoice::draw(const DrawArgs& args) { } std::shared_ptr font = APP->window->loadFont(fontPath); - nvgGlobalAlpha(args.vg, 1.0); + nvgGlobalTint(args.vg, color::WHITE); if (font && font->handle >= 0) { nvgFillColor(args.vg, color); nvgFontFaceId(args.vg, font->handle); @@ -99,7 +99,7 @@ void LedDisplayTextField::draw(const DrawArgs& args) { // Text std::shared_ptr font = APP->window->loadFont(fontPath); - nvgGlobalAlpha(args.vg, 1.0); + nvgGlobalTint(args.vg, color::WHITE); if (font && font->handle >= 0) { bndSetFont(font->handle); diff --git a/src/app/LightWidget.cpp b/src/app/LightWidget.cpp index d59a549f..a094ffaa 100644 --- a/src/app/LightWidget.cpp +++ b/src/app/LightWidget.cpp @@ -15,7 +15,7 @@ void LightWidget::draw(const DrawArgs& args) { // Dynamic light and halo // Override tint from rack brightness adjustment - nvgGlobalAlpha(args.vg, 1.0); + nvgGlobalTint(args.vg, color::WHITE); // Use the formula `lightColor * (1 - dest) + dest` for blending nvgGlobalCompositeBlendFunc(args.vg, NVG_ONE_MINUS_DST_COLOR, NVG_ONE); drawLight(args);