Merge pull request #1516 from thecodingmachine/iframeManager
Display multi co-websites
This commit is contained in:
commit
60a82c5eb2
28 changed files with 2060 additions and 280 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue