fix cursor container bad size

This commit is contained in:
Holly Stubbs 2024-04-19 12:03:38 +01:00
parent 3946575ac4
commit 98776062ca
Signed by: tgpholly
GPG key ID: B8583C4B7D18119E

View file

@ -94,6 +94,10 @@ if (!window.TE_ACTIVE) {
otherCursors.id = "otherCursors";
document.body.appendChild(otherCursors);
setInterval(() => {
otherCursors.style = `width:${window.innerWidth}px;height:${document.body.scrollHeight}px`;
}, 1000);
const keepAlivePacket = createWriter(Endian.LE, 1).writeByte(MessageType.KeepAlive).toBuffer();
let remoteClients = new FunkyArray();