1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-21 18:02:35 +01:00
This commit is contained in:
Mikael Finstad 2024-08-09 17:38:59 +02:00
parent 4ccf3180ca
commit c3e110ac27
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

View File

@ -1029,8 +1029,8 @@ function App() {
play(resetPlaybackRate); play(resetPlaybackRate);
}, [play, pause, selectedSegments, apparentCutSegments, setCurrentSegIndex, seekAbs, currentApparentCutSeg.start]); }, [play, pause, selectedSegments, apparentCutSegments, setCurrentSegIndex, seekAbs, currentApparentCutSeg.start]);
const onTimeUpdate = useCallback((e) => { const onTimeUpdate = useCallback<ReactEventHandler<HTMLVideoElement>>((e) => {
const { currentTime } = e.target; const { currentTime } = e.currentTarget;
if (playerTime === currentTime) return; if (playerTime === currentTime) return;
setPlayerTime(currentTime); setPlayerTime(currentTime);