mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-05-30 14:49:55 +02:00
Disable 'resizeInpaintingEditor' when 'maskSetting' is unchecked.
This commit is contained in:
parent
bab86c9ce2
commit
68c4b55945
@ -264,6 +264,9 @@ async function healthCheck() {
|
||||
}
|
||||
}
|
||||
function resizeInpaintingEditor() {
|
||||
if (!maskSetting.checked) {
|
||||
return
|
||||
}
|
||||
let widthValue = parseInt(widthField.value)
|
||||
let heightValue = parseInt(heightField.value)
|
||||
if (widthValue === heightValue) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user