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 GitHub
parent 031658eef4
commit c7df147908
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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"))
) { ) {