Added schedule locking and day jumping on scroll lock.

This commit is contained in:
rainbow napkin 2025-02-09 00:45:36 -05:00
parent c83ca63f9a
commit 44dd613ea3
8 changed files with 221 additions and 125 deletions

View file

@ -54,11 +54,15 @@ class channel{
this.socket.on("clientMetadata", this.handleClientInfo.bind(this));
this.socket.on("error", console.log);
this.socket.on("error", utils.ux.displayResponseError);
this.socket.on("queue", (data) => {
this.queue = new Map(data.queue);
})
});
this.socket.on("lock", (data) => {
this.queueLock = data.locked;
});
}
handleClientInfo(data){
@ -75,6 +79,9 @@ class channel{
//Store queue for use by the queue panel
this.queue = new Map(data.queue);
//Store queue lock status
this.queueLock = data.queueLock;
}
}