bug
This commit is contained in:
parent
41b2de7529
commit
913a7f1275
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ export const TopPanel = memo(function TopPanel({trace, time, setTime, onUndo, on
|
||||||
|
|
||||||
const onSlower = useCallback(() => {
|
const onSlower = useCallback(() => {
|
||||||
onTimeScaleChange((timescale/2).toString(), Math.round(performance.now()));
|
onTimeScaleChange((timescale/2).toString(), Math.round(performance.now()));
|
||||||
}, [onTimeScaleChange]);
|
}, [onTimeScaleChange, timescale]);
|
||||||
const onFaster = useCallback(() => {
|
const onFaster = useCallback(() => {
|
||||||
onTimeScaleChange((timescale*2).toString(), Math.round(performance.now()));
|
onTimeScaleChange((timescale*2).toString(), Math.round(performance.now()));
|
||||||
}, [onTimeScaleChange, timescale]);
|
}, [onTimeScaleChange, timescale]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue