spot: restore currtime after thumbnail

This commit is contained in:
nick-delirium 2025-03-25 15:44:07 +01:00
parent 712f07988e
commit b9cca6b388
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -199,6 +199,7 @@ function SavingControls({
return new Promise((res) => {
const interval = setInterval(() => {
videoRef.currentTime = 0;
if (thumbnailRes) {
clearInterval(interval);
res(thumbnailRes);