Browse Source
Merge pull request #10955 from ArtemDzhereleiko/AD/bug-fix/fixed-neon-color
Fixed colors for neon gauge
pull/10985/head
Igor Kulikov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
4 deletions
-
ui-ngx/src/app/modules/home/components/widget/lib/canvas-digital-gauge.ts
|
|
|
@ -238,10 +238,10 @@ export class CanvasDigitalGauge extends BaseGauge { |
|
|
|
} |
|
|
|
|
|
|
|
if (options.neonGlowBrightness) { |
|
|
|
options.neonColorTitle = tinycolor(options.colorTitle).brighten(options.neonGlowBrightness).toHexString(); |
|
|
|
options.neonColorLabel = tinycolor(options.colorLabel).brighten(options.neonGlowBrightness).toHexString(); |
|
|
|
options.neonColorValue = tinycolor(options.colorValue).brighten(options.neonGlowBrightness).toHexString(); |
|
|
|
options.neonColorMinMax = tinycolor(options.colorMinMax).brighten(options.neonGlowBrightness).toHexString(); |
|
|
|
options.neonColorTitle = tinycolor(options.colorTitle).brighten(options.neonGlowBrightness).toRgbString(); |
|
|
|
options.neonColorLabel = tinycolor(options.colorLabel).brighten(options.neonGlowBrightness).toRgbString(); |
|
|
|
options.neonColorValue = tinycolor(options.colorValue).brighten(options.neonGlowBrightness).toRgbString(); |
|
|
|
options.neonColorMinMax = tinycolor(options.colorMinMax).brighten(options.neonGlowBrightness).toRgbString(); |
|
|
|
} |
|
|
|
|
|
|
|
return options; |
|
|
|
|