From 913a7f1275cb06d7f391540a98b7cd358a7115b0 Mon Sep 17 00:00:00 2001 From: Joeri Exelmans Date: Fri, 24 Oct 2025 01:14:48 +0200 Subject: [PATCH] bug --- src/App/TopPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/TopPanel.tsx b/src/App/TopPanel.tsx index c3bcdf6..b6d69e2 100644 --- a/src/App/TopPanel.tsx +++ b/src/App/TopPanel.tsx @@ -114,7 +114,7 @@ export const TopPanel = memo(function TopPanel({trace, time, setTime, onUndo, on const onSlower = useCallback(() => { onTimeScaleChange((timescale/2).toString(), Math.round(performance.now())); - }, [onTimeScaleChange]); + }, [onTimeScaleChange, timescale]); const onFaster = useCallback(() => { onTimeScaleChange((timescale*2).toString(), Math.round(performance.now())); }, [onTimeScaleChange, timescale]);