yuntian-deng commited on
Commit
8044de1
·
1 Parent(s): 3943469

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +1 -1
static/index.html CHANGED
@@ -81,7 +81,7 @@
81
  function sendMousePosition(x, y, forceUpdate = false) {
82
  const currentTime = Date.now();
83
  if (isConnected && !isProcessing && (forceUpdate || !lastSentPosition || currentTime - lastSentTime >= SEND_INTERVAL)) {
84
- isProcessing = true;
85
  socket.send(JSON.stringify({
86
  "action_type": "move",
87
  "mouse_position": [x, y]
 
81
  function sendMousePosition(x, y, forceUpdate = false) {
82
  const currentTime = Date.now();
83
  if (isConnected && !isProcessing && (forceUpdate || !lastSentPosition || currentTime - lastSentTime >= SEND_INTERVAL)) {
84
+ //isProcessing = true;
85
  socket.send(JSON.stringify({
86
  "action_type": "move",
87
  "mouse_position": [x, y]