From 751ce62099b102653934f24a5d0290bbad350f47 Mon Sep 17 00:00:00 2001 From: catvayor Date: Tue, 13 Jun 2023 18:17:33 +0200 Subject: [PATCH] vieux can control their blurred state --- static/tracking/vieux.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/static/tracking/vieux.html b/static/tracking/vieux.html index 9de3a53..77a74fc 100644 --- a/static/tracking/vieux.html +++ b/static/tracking/vieux.html @@ -35,7 +35,10 @@
-
+ + + +
@@ -74,12 +77,14 @@ for(entry of data) nState[entry[0]] = entry[1]; nState.shown = "shown" in nState; + nState.blurred = "blurred" in nState; nState.tracker = nState.npc == 0; socket.emit('changeState', nState); } socket.on('newState', function(state){ document.querySelector("#shown").checked = state.shown; + document.querySelector("#blurred").checked = state.blurred; document.querySelector("#npc0").checked = state.npc == 0; document.querySelector("#npc1").checked = state.npc == 1; document.querySelector("#npc2").checked = state.npc == 2;