Skip to content

Commit 9a4eb49

Browse files
zeroxaaclaude
andcommitted
fix: increase pinch-to-zoom sensitivity
Increased WHEEL_ZOOM_STEP from 0.0015 to 0.01 for more responsive trackpad pinch zoom. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 74aed5d commit 9a4eb49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/ToolStateMachine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { NormalizedInputEvent } from './types'
33
import { rectFromPoints } from './geometry'
44

55
const DRAG_START_DISTANCE_PX = 4
6-
const WHEEL_ZOOM_STEP = 0.0015
6+
const WHEEL_ZOOM_STEP = 0.01
77
function distance(a: { x: number; y: number }, b: { x: number; y: number }): number {
88
const dx = a.x - b.x
99
const dy = a.y - b.y

0 commit comments

Comments
 (0)