Changes to the valueText should also rescale ha-gauge text (#23536)

Changes to the valueText should also recenter ha-gauge text
This commit is contained in:
Sören Beye 2025-01-02 15:56:03 +01:00 committed by Bram Kragten
parent 3b8bc242fe
commit 711f721007

View File

@ -62,6 +62,7 @@ export class HaGauge extends LitElement {
if ( if (
!this._updated || !this._updated ||
(!changedProperties.has("value") && (!changedProperties.has("value") &&
!changedProperties.has("valueText") &&
!changedProperties.has("label") && !changedProperties.has("label") &&
!changedProperties.has("_segment_label")) !changedProperties.has("_segment_label"))
) { ) {