diff --git a/src/renderer/input.js b/src/renderer/input.js index 6005f0d..48bac1c 100644 --- a/src/renderer/input.js +++ b/src/renderer/input.js @@ -43,8 +43,9 @@ function tryToSendInput() { switch (inputEvent.type) { case "mousemove": hasMouseMove = true; - mouseMoveX += inputEvent.dx; - mouseMoveY += inputEvent.dy; + // Make change according to https://github.com/felixrieseberg/macintosh.js/issues/6#issuecomment-665981700 + mouseMoveX = inputEvent.dx; + mouseMoveY = inputEvent.dy; break; case "mousedown": case "mouseup":