fix cursor container bad size
This commit is contained in:
parent
3946575ac4
commit
98776062ca
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue