Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

allow timeline scrolling on linux lol

Brendan Allan46963efb671b
diff --git a/apps/desktop/src/routes/editor/Timeline.tsx b/apps/desktop/src/routes/editor/Timeline.tsx
index 765e40177..05da942e7 100644
--- a/apps/desktop/src/routes/editor/Timeline.tsx
+++ b/apps/desktop/src/routes/editor/Timeline.tsx
@@ -187,7 +187,7 @@ export function Timeline() {
if (platform() === "macos")
delta = e.shiftKey ? e.deltaX : e.deltaY;
- else if (platform() === "windows") delta = e.deltaY;
+ else delta = e.deltaY;
state.timelineTransform.setPosition(
state.timelineTransform.position + secsPerPixel() * delta