Merge pull request #1516 from thecodingmachine/iframeManager

Display multi co-websites
This commit is contained in:
David Négrier
2021-10-29 15:33:56 +02:00
committed by GitHub
28 changed files with 2060 additions and 280 deletions
+5
View File
@@ -1,6 +1,7 @@
import { writable } from "svelte/store";
import { playersStore } from "./PlayersStore";
import type { PlayerInterface } from "../Phaser/Game/PlayerInterface";
import { iframeListener } from "../Api/IframeListener";
export const chatVisibilityStore = writable(false);
export const chatInputFocusStore = writable(false);
@@ -78,6 +79,8 @@ function createChatMessagesStore() {
date: new Date(),
});
}
iframeListener.sendUserInputChat(text);
return list;
});
},
@@ -99,6 +102,8 @@ function createChatMessagesStore() {
date: new Date(),
});
}
iframeListener.sendUserInputChat(text);
return list;
});
chatVisibilityStore.set(true);