mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-06 08:00:12 +00:00
Fix issue with modal image viewer with low live_preview_refresh_period (#16981)
This commit is contained in:
@@ -190,7 +190,7 @@ function requestProgress(id_task, progressbarContainer, gallery, atEnd, onProgre
|
||||
livePreview.className = 'livePreview';
|
||||
gallery.insertBefore(livePreview, gallery.firstElementChild);
|
||||
}
|
||||
|
||||
updateModalImageIfVisible();
|
||||
livePreview.appendChild(img);
|
||||
if (livePreview.childElementCount > 2) {
|
||||
livePreview.removeChild(livePreview.firstElementChild);
|
||||
|
||||
Reference in New Issue
Block a user