fix(2.5D): reuse projection snapshot during settings toggle

The beta performance gate exposed a duplicate 2.5D scene resolution in one
Lit update: willUpdate built the projection snapshot and immediately cleared
it before render. Invalidate first so the computed snapshot is reused.

Issue: #649
User-Visible: no
This commit is contained in:
Sergey Matyunin
2026-09-25 22:44:37 +03:00
parent 8501d10988
commit cc04d341d4
66 changed files with 591 additions and 591 deletions
+1 -1
View File
@@ -3983,7 +3983,7 @@ export class HouseplanCard extends LitElement {
}
protected willUpdate(changed: PropertyValues): void {
this._syncVolumetricSetting(); this._isoProjectionSnapshot = null; this._summary?.willUpdate();
this._isoProjectionSnapshot = null; this._syncVolumetricSetting(); this._summary?.willUpdate();
if (changed.has('hass')) {
// Observe every user/connection transition, including A→B→A while an
// old promise is waiting. Equality at completion must not revive it.