Moving audio message to Svelte
This commit is contained in:
parent
faa4c7c08e
commit
267d0a2cd1
11 changed files with 110 additions and 74 deletions
|
@ -17,6 +17,8 @@
|
|||
import {Game} from "../Phaser/Game/Game";
|
||||
import {helpCameraSettingsVisibleStore} from "../Stores/HelpCameraSettingsStore";
|
||||
import HelpCameraSettingsPopup from "./HelpCameraSettings/HelpCameraSettingsPopup.svelte";
|
||||
import AudioPlaying from "./UI/AudioPlaying.svelte";
|
||||
import {soundPlayingStore} from "../Stores/SoundPlayingStore";
|
||||
|
||||
export let game: Game;
|
||||
</script>
|
||||
|
@ -47,6 +49,11 @@
|
|||
<EnableCameraScene game={game}></EnableCameraScene>
|
||||
</div>
|
||||
{/if}
|
||||
{#if $soundPlayingStore}
|
||||
<div>
|
||||
<AudioPlaying url={$soundPlayingStore} />
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<!--
|
||||
{#if $menuIconVisible}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue