mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-07-13 15:34:58 +00:00
Invert
This commit is contained in:
parent
fefa01b6f9
commit
48c4e7608a
2 changed files with 61 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ function CameraMovement() {
|
|||
const handleWheel = (e: WheelEvent) => {
|
||||
e.preventDefault();
|
||||
|
||||
const direction = e.deltaY > 0 ? 1 : -1;
|
||||
const direction = e.deltaY > 0 ? -1 : 1;
|
||||
|
||||
const delta =
|
||||
// Helps normalize sensitivity; trackpad scrolling will have many small
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue