From 9d19698bf33435eb6b6951c897d7ec4a0468f001 Mon Sep 17 00:00:00 2001 From: Malcolm Diller Date: Wed, 21 Dec 2022 16:09:56 -0800 Subject: [PATCH] fixed opacity on inpainter to be 100% by default so no weird erasing --- ui/media/js/image-editor.js | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/media/js/image-editor.js b/ui/media/js/image-editor.js index e193bd33..d26b0bad 100644 --- a/ui/media/js/image-editor.js +++ b/ui/media/js/image-editor.js @@ -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