mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-09 23:57:42 +02:00
Fix a bug where setting an initial image would mess up the width and height field
This commit is contained in:
@ -2162,6 +2162,7 @@ function checkRandomSeed() {
|
||||
randomSeedField.addEventListener("input", checkRandomSeed)
|
||||
checkRandomSeed()
|
||||
|
||||
// warning: the core plugin `image-editor-improvements.js:172` replaces loadImg2ImgFromFile() with a custom version
|
||||
function loadImg2ImgFromFile() {
|
||||
if (initImageSelector.files.length === 0) {
|
||||
return
|
||||
|
Reference in New Issue
Block a user