fix bug with history

pull/2666/head
Mikael Finstad 7 months ago
parent c325000bde
commit 251204b465
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -632,6 +632,7 @@ function App() {
playingRef.current = false;
setPlaybackMode(undefined);
setFileDuration(undefined);
cutSegmentsHistory.history[0] = []; // in case we have exceeded capacity
cutSegmentsHistory.go(0);
setDetectedFileFormat(undefined);
setRotation(360);

Loading…
Cancel
Save