fix issue with checkpoint change

added pacman preloader, fix hires id name
This commit is contained in:
anapnoe
2023-03-06 05:43:38 +02:00
parent 8db6df4ad5
commit 2b7abd5c53
6 changed files with 142 additions and 44 deletions
+5 -5
View File
@@ -210,11 +210,11 @@ function requestProgress(id_task, progressbarContainer, gallery, atEnd, onProgre
if(res.live_preview && gallery){
var rect = gallery.getBoundingClientRect()
if(rect.width){
livePreview.style.width = rect.width + "px"
livePreview.style.height = rect.height + "px"
}
//var rect = gallery.getBoundingClientRect()
//if(rect.width){
//livePreview.style.width = rect.width + "px"
//livePreview.style.height = rect.height + "px"
//}
var img = new Image();
img.onload = function() {