mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
Stories: remove the Mute button, which controlled nothing
Scene media plays muted and offers no audio control to wire it to.
This commit is contained in:
1 parent
4fa80fb18c
commit
f4b535d89e
15 files changed
+2
-53
No files matched your search
@@ -4097,8 +4097,6 @@
|
||||
"chapter": "الفصل",
|
||||
"Key moment: {label}": "لحظة رئيسية: {label}",
|
||||
"Jump to live": "الانتقال إلى المباشر",
|
||||
"Unmute": "إلغاء الكتم",
|
||||
"Mute": "كتم الصوت",
|
||||
"Exit expanded map": "الخروج من الخريطة الموسّعة",
|
||||
"Expand map": "توسيع الخريطة",
|
||||
"Exit cockpit to open Stories": "اخرج من القمرة لفتح القصص",
|
||||
|
||||
@@ -3737,8 +3737,6 @@
|
||||
"chapter": "Kapitel",
|
||||
"Key moment: {label}": "Schlüsselmoment: {label}",
|
||||
"Jump to live": "Zu live springen",
|
||||
"Unmute": "Ton an",
|
||||
"Mute": "Stumm",
|
||||
"Exit expanded map": "Vergrößerte Karte verlassen",
|
||||
"Expand map": "Karte vergrößern",
|
||||
"Exit cockpit to open Stories": "Cockpit verlassen, um Storys zu öffnen",
|
||||
|
||||
@@ -3827,8 +3827,6 @@
|
||||
"chapter": "capítulo",
|
||||
"Key moment: {label}": "Momento clave: {label}",
|
||||
"Jump to live": "Ir al directo",
|
||||
"Unmute": "Activar sonido",
|
||||
"Mute": "Silenciar",
|
||||
"Exit expanded map": "Salir del mapa ampliado",
|
||||
"Expand map": "Ampliar mapa",
|
||||
"Exit cockpit to open Stories": "Sal de la cabina para abrir Historias",
|
||||
|
||||
@@ -3827,8 +3827,6 @@
|
||||
"chapter": "chapitre",
|
||||
"Key moment: {label}": "Moment clé : {label}",
|
||||
"Jump to live": "Revenir au direct",
|
||||
"Unmute": "Réactiver le son",
|
||||
"Mute": "Couper le son",
|
||||
"Exit expanded map": "Quitter la carte agrandie",
|
||||
"Expand map": "Agrandir la carte",
|
||||
"Exit cockpit to open Stories": "Quittez le cockpit pour ouvrir les Récits",
|
||||
|
||||
@@ -3827,8 +3827,6 @@
|
||||
"chapter": "פרק",
|
||||
"Key moment: {label}": "רגע מפתח: {label}",
|
||||
"Jump to live": "מעבר לזמן אמת",
|
||||
"Unmute": "ביטול השתקה",
|
||||
"Mute": "השתקה",
|
||||
"Exit expanded map": "יציאה מהמפה המורחבת",
|
||||
"Expand map": "הרחבת המפה",
|
||||
"Exit cockpit to open Stories": "צא מתא הטייס כדי לפתוח את הסיפורים",
|
||||
|
||||
@@ -3827,8 +3827,6 @@
|
||||
"chapter": "capitolo",
|
||||
"Key moment: {label}": "Momento chiave: {label}",
|
||||
"Jump to live": "Vai alla diretta",
|
||||
"Unmute": "Riattiva audio",
|
||||
"Mute": "Disattiva audio",
|
||||
"Exit expanded map": "Esci dalla mappa espansa",
|
||||
"Expand map": "Espandi la mappa",
|
||||
"Exit cockpit to open Stories": "Esci dal cockpit per aprire le Storie",
|
||||
|
||||
@@ -3647,8 +3647,6 @@
|
||||
"chapter": "章",
|
||||
"Key moment: {label}": "重要な場面: {label}",
|
||||
"Jump to live": "ライブに移動",
|
||||
"Unmute": "ミュート解除",
|
||||
"Mute": "ミュート",
|
||||
"Exit expanded map": "拡大地図を終了",
|
||||
"Expand map": "地図を拡大",
|
||||
"Exit cockpit to open Stories": "ストーリーを開くにはコックピットを終了してください",
|
||||
|
||||
@@ -3827,8 +3827,6 @@
|
||||
"chapter": "capítulo",
|
||||
"Key moment: {label}": "Momento-chave: {label}",
|
||||
"Jump to live": "Ir para o ao vivo",
|
||||
"Unmute": "Ativar som",
|
||||
"Mute": "Silenciar",
|
||||
"Exit expanded map": "Sair do mapa ampliado",
|
||||
"Expand map": "Ampliar mapa",
|
||||
"Exit cockpit to open Stories": "Saia da cabine para abrir Histórias",
|
||||
|
||||
@@ -3917,8 +3917,6 @@
|
||||
"chapter": "глава",
|
||||
"Key moment: {label}": "Ключевой момент: {label}",
|
||||
"Jump to live": "К реальному времени",
|
||||
"Unmute": "Включить звук",
|
||||
"Mute": "Выключить звук",
|
||||
"Exit expanded map": "Выйти из развёрнутой карты",
|
||||
"Expand map": "Развернуть карту",
|
||||
"Exit cockpit to open Stories": "Выйдите из кабины, чтобы открыть Истории",
|
||||
|
||||
@@ -3737,8 +3737,6 @@
|
||||
"chapter": "kapitel",
|
||||
"Key moment: {label}": "Nyckelögonblick: {label}",
|
||||
"Jump to live": "Hoppa till live",
|
||||
"Unmute": "Slå på ljudet",
|
||||
"Mute": "Stäng av ljudet",
|
||||
"Exit expanded map": "Lämna den förstorade kartan",
|
||||
"Expand map": "Förstora kartan",
|
||||
"Exit cockpit to open Stories": "Lämna cockpiten för att öppna Berättelser",
|
||||
|
||||
@@ -3917,8 +3917,6 @@
|
||||
"chapter": "розділ",
|
||||
"Key moment: {label}": "Ключовий момент: {label}",
|
||||
"Jump to live": "До реального часу",
|
||||
"Unmute": "Увімкнути звук",
|
||||
"Mute": "Вимкнути звук",
|
||||
"Exit expanded map": "Вийти з розгорнутої карти",
|
||||
"Expand map": "Розгорнути карту",
|
||||
"Exit cockpit to open Stories": "Вийдіть із кабіни, щоб відкрити Історії",
|
||||
|
||||
@@ -3647,8 +3647,6 @@
|
||||
"chapter": "章节",
|
||||
"Key moment: {label}": "关键时刻:{label}",
|
||||
"Jump to live": "跳转到实时",
|
||||
"Unmute": "取消静音",
|
||||
"Mute": "静音",
|
||||
"Exit expanded map": "退出放大地图",
|
||||
"Expand map": "放大地图",
|
||||
"Exit cockpit to open Stories": "请先退出座舱,再打开故事",
|
||||
|
||||
@@ -3647,8 +3647,6 @@
|
||||
"chapter": "章節",
|
||||
"Key moment: {label}": "關鍵時刻:{label}",
|
||||
"Jump to live": "跳轉到即時",
|
||||
"Unmute": "取消靜音",
|
||||
"Mute": "靜音",
|
||||
"Exit expanded map": "退出放大地圖",
|
||||
"Expand map": "放大地圖",
|
||||
"Exit cockpit to open Stories": "請先退出座艙,再開啟故事",
|
||||
|
||||
@@ -33,7 +33,6 @@ export const useStoriesStore = defineStore('stories', {
|
||||
/** The big Play button over a story that opened paused. */
|
||||
bigPlay: false,
|
||||
camera: { lat: 0, lon: 0, altKm: 0 },
|
||||
muted: true,
|
||||
expanded: false,
|
||||
/** Context panel shown over the map while expanded (desktop). */
|
||||
ctxOpen: false,
|
||||
|
||||
@@ -20,7 +20,7 @@ import {
|
||||
const props = defineProps({ story: { type: Object, required: true } });
|
||||
const emit = defineEmits(['anchor']);
|
||||
const store = useStoriesStore();
|
||||
const { playback, muted, expanded } = storeToRefs(store);
|
||||
const { playback, expanded } = storeToRefs(store);
|
||||
|
||||
const dur = computed(
|
||||
() => playback.value.durationMs || props.story.durationMs || 1,
|
||||
@@ -333,11 +333,7 @@ function onKey(e) {
|
||||
seek(tt);
|
||||
}
|
||||
|
||||
// ── Sound, expand ──
|
||||
const VOL = {
|
||||
off: '<path d="M4 9.5h3.5L12 5.5v13l-4.5-4H4z" fill="currentColor" stroke="none"/><path d="M16 9.5l5 5M21 9.5l-5 5"/>',
|
||||
on: '<path d="M4 9.5h3.5L12 5.5v13l-4.5-4H4z" fill="currentColor" stroke="none"/><path d="M15.5 9a4.5 4.5 0 0 1 0 6M18 6.5a8 8 0 0 1 0 11"/>',
|
||||
};
|
||||
// ── Expand ──
|
||||
function toggleExpand() {
|
||||
store.expanded = !store.expanded;
|
||||
store.ctxOpen = false;
|
||||
@@ -496,26 +492,6 @@ defineExpose({ goChapter });
|
||||
>
|
||||
<i></i>{{ t('LIVE') }}
|
||||
</button>
|
||||
<button
|
||||
id="tlVol"
|
||||
class="tl-vol"
|
||||
type="button"
|
||||
:aria-label="muted ? t('Unmute') : t('Mute')"
|
||||
:aria-pressed="!muted"
|
||||
@click="muted = !muted"
|
||||
>
|
||||
<svg
|
||||
id="tlVolIcon"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="1.9"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
aria-hidden="true"
|
||||
v-html="muted ? VOL.off : VOL.on"
|
||||
></svg>
|
||||
</button>
|
||||
<button
|
||||
id="stExpand"
|
||||
class="tl-vol"
|
||||
|
||||
Reference in new issue
Block a user