sdkit 1.0.151 - An option to use strict mask borders

This commit is contained in:
cmdr2
2023-07-30 13:51:19 +05:30
parent 2e849827d1
commit 1d6742f463
5 changed files with 45 additions and 32 deletions

View File

@ -626,6 +626,7 @@ class ImageEditor {
.getImageData(0, 0, this.width, this.height)
.data.some((channel) => channel !== 0)
maskSetting.checked = !is_blank
maskSetting.dispatchEvent(new Event("change"))
}
this.hide()
}