Commit 9d33baba authored by Vladimir Repin's avatar Vladimir Repin Committed by AUTOMATIC1111

Always show previous mask and fix extras_send dest

parent 6c36fe57
...@@ -961,7 +961,7 @@ def create_ui(wrap_gradio_gpu_call): ...@@ -961,7 +961,7 @@ def create_ui(wrap_gradio_gpu_call):
extras_send_to_inpaint.click( extras_send_to_inpaint.click(
fn=lambda x: image_from_url_text(x), fn=lambda x: image_from_url_text(x),
_js="extract_image_from_gallery_img2img", _js="extract_image_from_gallery_inpaint",
inputs=[result_images], inputs=[result_images],
outputs=[init_img_with_mask], outputs=[init_img_with_mask],
) )
......
...@@ -467,3 +467,10 @@ input[type="range"]{ ...@@ -467,3 +467,10 @@ input[type="range"]{
max-width: 32em; max-width: 32em;
padding: 0; padding: 0;
} }
canvas[key="mask"] {
z-index: 12 !important;
filter: invert();
mix-blend-mode: multiply;
pointer-events: none;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment