mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-16 02:59:06 +02:00
Disable 'resizeInpaintingEditor' when 'maskSetting' is unchecked.
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user