Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: increase pinch-to-zoom sensitivity on timeline (5x amplifier)

Louis Beaumont5280512f088c
diff --git a/apps/screenpipe-app-tauri/components/rewind/timeline.tsx b/apps/screenpipe-app-tauri/components/rewind/timeline.tsx
index 3f73a6dbf..1de2d2a8d 100644
--- a/apps/screenpipe-app-tauri/components/rewind/timeline.tsx
+++ b/apps/screenpipe-app-tauri/components/rewind/timeline.tsx
@@ -1189,8 +1189,9 @@ export default function Timeline({ embedded = false }: { embedded?: boolean }) {
zoomTimeoutRef.current = setTimeout(() => {
isZoomingRef.current = false;
}, 150);
+ // Amplify: NSEvent magnification is small (~0.01-0.05 per tick)
setTargetZoom((prev) =>
- Math.min(MAX_ZOOM, Math.max(MIN_ZOOM, prev * (1 + magnification))),
+ Math.min(MAX_ZOOM, Math.max(MIN_ZOOM, prev * (1 + magnification * 5))),
);
});
return () => { unlisten.then((f) => f()); };