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
1 changed files with 4 additions and 0 deletions

View File

@ -93,6 +93,10 @@ if (!window.TE_ACTIVE) {
const otherCursors = document.createElement("div");
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();