Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
use prev when calculating segmentIndex
Brendan Allan4886d32a63f2
diff --git a/apps/desktop/src/routes/editor/ConfigSidebar.tsx b/apps/desktop/src/routes/editor/ConfigSidebar.tsxindex dc23e72a3..b25c494b5 100644--- a/apps/desktop/src/routes/editor/ConfigSidebar.tsx+++ b/apps/desktop/src/routes/editor/ConfigSidebar.tsx@@ -1375,7 +1375,7 @@ export function ConfigSidebar() {return value().segment.start;}, 0);- const segmentIndex = createMemo<number>(() => {+ const segmentIndex = createMemo<number>((prev) => {if (history.isPaused()) return prev;const st = start();