fixed opacity on inpainter to be 100% by default so no weird erasing

This commit is contained in:
Malcolm Diller 2022-12-21 16:09:56 -08:00
parent 582b2d936f
commit 9d19698bf3

View File

@ -404,7 +404,6 @@ class ImageEditor {
if (this.inpainter) {
this.selectOption("color", IMAGE_EDITOR_SECTIONS.find(s => s.name == "color").options.indexOf("#ffffff"))
this.selectOption("opacity", IMAGE_EDITOR_SECTIONS.find(s => s.name == "opacity").options.indexOf(0.4))
}
// initialize the right-side controls