Browse Source

One more light mode tweak

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.09
falkTX 3 years ago
parent
commit
f55161143e
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/custom/dep.cpp

+ 2
- 2
src/custom/dep.cpp View File

@@ -41,9 +41,9 @@ float FollowerBase::efGainMaxDecibelsDebug = 12.0f;

// Special nvgRGB for blank panels
extern "C" {
NVGcolor nvgRGBblank(unsigned char, unsigned char, unsigned char)
NVGcolor nvgRGBblank(const unsigned char r, const unsigned char g, const unsigned char b)
{
return nvgRGB(0x20, 0x20, 0x20);
return rack::settings::darkMode ? nvgRGB(0x20, 0x20, 0x20) : nvgRGB(r, g, b);
}
}



Loading…
Cancel
Save