Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
don't require modifier keys to scroll timeline
Brendan Allan425d209612e4
diff --git a/apps/desktop/src/routes/editor/Timeline.tsx b/apps/desktop/src/routes/editor/Timeline.tsxindex e3b7067be..765e40177 100644--- a/apps/desktop/src/routes/editor/Timeline.tsx+++ b/apps/desktop/src/routes/editor/Timeline.tsx@@ -185,8 +185,9 @@ export function Timeline() {else {let delta: number = 0;- if (platform() === "macos" && e.shiftKey) delta = e.deltaX;- else if (platform() === "windows" && e.shiftKey) delta = e.deltaY;+ if (platform() === "macos")+ delta = e.shiftKey ? e.deltaX : e.deltaY;+ else if (platform() === "windows") delta = e.deltaY;state.timelineTransform.setPosition(state.timelineTransform.position + secsPerPixel() * delta