tweaked sounds on some buttons, renamed play_sound to playSound
This commit is contained in:
parent
6e2e4e0c23
commit
b9445cf832
8 changed files with 27 additions and 15 deletions
|
@ -1,5 +1,5 @@
|
|||
<script>
|
||||
import { play_sound } from '../../sound.js';
|
||||
import { playSound } from '../../sound.js';
|
||||
import { createEventDispatcher } from 'svelte';
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
||||
function click() {
|
||||
if (disabled) return;
|
||||
play_sound(sound);
|
||||
playSound(sound);
|
||||
dispatch('click');
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue