fix: avoid duplicate world map background loads
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
<section class="world-page" aria-label="Weltansicht">
|
||||
@if (worldStore.currentLocation(); as location) {
|
||||
<section
|
||||
class="world-page__scene"
|
||||
[style.background-image]="mapBackground"
|
||||
[attr.aria-label]="'Weltkarte bei ' + location.name"
|
||||
>
|
||||
<section class="world-page__scene" [attr.aria-label]="'Weltkarte bei ' + location.name">
|
||||
<div class="world-page__atmosphere" aria-hidden="true"></div>
|
||||
<p class="world-page__location-title">{{ location.name }}</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user