Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
REDl3east committed Feb 9, 2024
1 parent e774a19 commit c5df678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raylib.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class RaylibJs {
this.currentPressedKeyState.delete(glfwKeyMapping[e.code]);
};
const wheelMove = (e) => {
this.currentMouseWheelMoveState = Math.sign(-event.deltaY);
this.currentMouseWheelMoveState = Math.sign(-e.deltaY);
};

window.addEventListener("keydown", keyDown);
Expand Down

0 comments on commit c5df678

Please sign in to comment.