Merge branch 'develop' of github.com:thecodingmachine/workadventure

This commit is contained in:
_Bastler
2021-09-13 11:11:52 +02:00
10 changed files with 231 additions and 28 deletions
+15 -1
View File
@@ -1,4 +1,18 @@
import { writable } from "svelte/store";
function createEmoteMenuStore() {
const { subscribe, set } = writable(false);
return {
subscribe,
openEmoteMenu() {
set(true);
},
closeEmoteMenu() {
set(false);
},
};
}
export const emoteStore = writable<string | null>(null);
export const emoteMenuStore = writable(false);
export const emoteMenuStore = createEmoteMenuStore();