Skip to content

Commit 73496b3

Browse files
invert zoom direction with scroll
1 parent fdf5e93 commit 73496b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

editor-packages/editor-canvas/canvas-event-target/canvas-event-target.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function CanvasEventTarget({
5555
const transform_wheel_to_zoom = (s) => {
5656
return {
5757
...s,
58-
delta: [s.delta[1] * ZOOM_WITH_SCROLL_SENSITIVITY, 0],
58+
delta: [-s.delta[1] * ZOOM_WITH_SCROLL_SENSITIVITY, 0],
5959
};
6060
};
6161

0 commit comments

Comments
 (0)