Skip to content

Commit

Permalink
just send it nromally
Browse files Browse the repository at this point in the history
  • Loading branch information
v5p committed Feb 4, 2023
1 parent 241500e commit 7e4fbc6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ ipc.on(IM.mouseup, (button: number) => {
ipc.on(IM.mousemove, (movementX, movementY) => {
if (mouseMoveListener)
mouseMoveListener(
spoofEvent(new MouseEvent("mousemove", { movementX, movementY })),
"cntrlInput"
spoofEvent(new MouseEvent("mousemove", { movementX, movementY }))
);
});

Expand Down

0 comments on commit 7e4fbc6

Please sign in to comment.