fix: avoid duplicate world map background loads

This commit is contained in:
Bastian Wagner
2026-08-19 09:02:14 +02:00
parent 1a30eb3491
commit 8e6e77b027
5 changed files with 18 additions and 10 deletions

View File

@@ -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>