From 2e9ad6a83f990e55156fa372cde9214f822107d5 Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 25 Aug 2026 19:34:02 +0200 Subject: [PATCH] Tourismusregion: eigene SVG-Icons (Log/Anim/Kamera) + Tempo ganz links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Komponente: Tempo-Steuerung an erste Aktions-Position (ganz links), Rest ans Ende. - Region: 🔔/🐢/🎯 durch eigene SVG-Icons ersetzt (logBadge erhalten). Co-Authored-By: Claude Opus 4.8 --- App/assets/js/ggs-header.js | 7 +++++-- App/sims/tourismusregion/game.html | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/App/assets/js/ggs-header.js b/App/assets/js/ggs-header.js index 870cf42..42b6159 100644 --- a/App/assets/js/ggs-header.js +++ b/App/assets/js/ggs-header.js @@ -302,8 +302,11 @@ /* --- 7) Aktionen in Mockup-Reihenfolge sortieren ---------- */ if (actions) { - var order = [tempoWrap, musicWrap, soundBtn, resetBtn, helpBtn, q('.ggs-glossar')]; - for (var o = 0; o < order.length; o++) if (order[o]) actions.appendChild(order[o]); + // Standard-Steuerung ans Ende (Musik · Ton · Neustart · Hilfe · Glossar) + var tail = [musicWrap, soundBtn, resetBtn, helpBtn, q('.ggs-glossar')]; + for (var o = 0; o < tail.length; o++) if (tail[o]) actions.appendChild(tail[o]); + // Tempo IMMER ganz links (erste Position der Aktionen) + if (tempoWrap) actions.insertBefore(tempoWrap, actions.firstChild); } /* --- 8) Panels bei Außen-Klick schließen ------------------ */ diff --git a/App/sims/tourismusregion/game.html b/App/sims/tourismusregion/game.html index e922d2c..7f1cd68 100644 --- a/App/sims/tourismusregion/game.html +++ b/App/sims/tourismusregion/game.html @@ -28,11 +28,11 @@ - + - - + +