Removing one more unnecessary custom event

This commit is contained in:
patriceac 2022-12-29 09:43:12 -08:00
parent 21e3299b7a
commit 813edec808

View File

@ -1373,7 +1373,6 @@ function img2imgLoad() {
initImageSizeBox.textContent = initImagePreview.naturalWidth + " x " + initImagePreview.naturalHeight
imageEditor.setImage(this.src, initImagePreview.naturalWidth, initImagePreview.naturalHeight)
imageInpainter.setImage(this.src, parseInt(widthField.value), parseInt(heightField.value))
document.dispatchEvent(new Event("imagePainterLoad"))
}
function img2imgUnload() {