add setting for progressbar update period

This commit is contained in:
AUTOMATIC
2023-01-15 20:27:39 +03:00
parent f6aac4c65a
commit a534bdfc80
2 changed files with 2 additions and 1 deletions

View File

@@ -208,7 +208,7 @@ function requestProgress(id_task, progressbarContainer, gallery, atEnd, onProgre
setTimeout(() => {
fun(id_task, res.id_live_preview);
}, 500)
}, opts.live_preview_refresh_period || 500)
}, function(){
removeProgressBar()
})