@record-evolution/widget-gauge 1.7.11 → 1.7.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "REWidget widget-gauge",
4
4
  "license": "MIT",
5
5
  "author": "widget-gauge",
6
- "version": "1.7.11",
6
+ "version": "1.7.13",
7
7
  "type": "module",
8
8
  "main": "dist/widget-gauge.js",
9
9
  "types": "dist/src/widget-gauge.d.ts",
@@ -348,7 +348,9 @@ export class WidgetGauge extends LitElement {
348
348
  ga.data[0].name = ds.unit
349
349
  ga.title.fontSize = 20 * modifier
350
350
  ga.title.color = ds.valueColor ?? this.themeTitleColor
351
+ ga.title.opacity = 1
351
352
  ga.detail.color = ds.valueColor ?? this.themeTitleColor
353
+ ga.detail.opacity = 1
352
354
  ga.detail.fontSize = 40 * modifier
353
355
  ga.detail.formatter = (val: number) =>
354
356
  isNaN(val) ? '-' : val.toFixed(Math.floor(ds.precision ?? 0))