mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-23 23:49:11 +01:00
Merge pull request #931 from patriceac/patch-41
Fix the restoration of the inpainting toggle
This commit is contained in:
commit
c49ac6880d
@ -357,6 +357,7 @@ function restoreTaskToUI(task, fieldsToSkip) {
|
||||
initImagePreview.addEventListener('load', function() {
|
||||
if (Boolean(task.reqBody.mask)) {
|
||||
imageInpainter.setImg(task.reqBody.mask)
|
||||
maskSetting.checked = true
|
||||
}
|
||||
}, { once: true })
|
||||
initImagePreview.src = task.reqBody.init_image
|
||||
|
Loading…
Reference in New Issue
Block a user