Commit 11ff6b6f authored by Claes Sjofors's avatar Claes Sjofors

Java, invisible dynamic fix for dimmed with custom color

parent 87d2ba36
...@@ -297,6 +297,14 @@ public class GlowColor { ...@@ -297,6 +297,14 @@ public class GlowColor {
drawtype = ( drawtype - 4); drawtype = ( drawtype - 4);
else if ( 56 <= drawtype && drawtype <= 59) else if ( 56 <= drawtype && drawtype <= 59)
drawtype = ( drawtype - 4); drawtype = ( drawtype - 4);
else if ( is_custom(drawtype)) {
if ( drawtype == Glow.eDrawType_CustomColor37)
// Button border color
drawtype = Glow.eDrawType_CustomColor40;
if ( drawtype == Glow.eDrawType_CustomColor38)
// Button text color
drawtype = Glow.eDrawType_CustomColor39;
}
} }
} }
if ( !((drawtype >= 0 && drawtype <= Glow.eDrawType_Color__) || if ( !((drawtype >= 0 && drawtype <= Glow.eDrawType_Color__) ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment