Adjust fundamental for light mode
This commit is contained in:
parent
9116eb61fb
commit
9442c9b620
2 changed files with 21 additions and 1 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 9ac0cdb93938c3f01aba58ec01fdd01257abf353
|
||||
Subproject commit 63d54b6575657c8bd8d221178253c750baf0ed3b
|
|
@ -510,6 +510,8 @@ static const struct {
|
|||
{ kModeFundamental, "/Fundamental/res/VCO.svg", {}, -1 },
|
||||
{ kModeFundamental, "/Fundamental/res/WTLFO.svg", {}, -1 },
|
||||
{ kModeFundamental, "/Fundamental/res/WTVCO.svg", {}, -1 },
|
||||
{ kModeFundamental, "/Fundamental/res/components/ADSR-bg.svg", {}, -1 },
|
||||
{ kModeFundamental, "/Fundamental/res/components/Scope-bg.svg", {}, -1 },
|
||||
// GPLv3+
|
||||
{ kModeGoodSheperd, "/GoodSheperd/res/Holzschnabel.svg", {}, -1 },
|
||||
{ kModeGoodSheperd, "/GoodSheperd/res/Hurdle.svg", {}, -1 },
|
||||
|
@ -939,6 +941,24 @@ bool invertPaintForLightMode(const LightMode mode, NSVGshape* const shape, NSVGp
|
|||
return false;
|
||||
}
|
||||
break;
|
||||
case kModeFundamental:
|
||||
switch (paint.color)
|
||||
{
|
||||
case 0xc0000000:
|
||||
paint.color = 0xe6000000;
|
||||
return true;
|
||||
case 0xff909092:
|
||||
paint.color = 0xff000000;
|
||||
return true;
|
||||
case 0xff000000:
|
||||
if (shape->opacity == 0.5f)
|
||||
{
|
||||
shape->opacity = 0.9f;
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case kModeGoodSheperd:
|
||||
switch (paint.color)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue