mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fit map on load (#18819)
This commit is contained in:
parent
843430ef41
commit
07b807adfc
@ -136,7 +136,7 @@ export class HaMap extends ReactiveElement {
|
||||
autoFitRequired = true;
|
||||
}
|
||||
|
||||
if (this.autoFit && autoFitRequired) {
|
||||
if (changedProps.has("_loaded") || (this.autoFit && autoFitRequired)) {
|
||||
this.fitMap();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user