Always show previous mask and fix extras_send dest
This commit is contained in:
parent
6c36fe5719
commit
9d33baba58
2 changed files with 8 additions and 1 deletions
|
@ -961,7 +961,7 @@ def create_ui(wrap_gradio_gpu_call):
|
|||
|
||||
extras_send_to_inpaint.click(
|
||||
fn=lambda x: image_from_url_text(x),
|
||||
_js="extract_image_from_gallery_img2img",
|
||||
_js="extract_image_from_gallery_inpaint",
|
||||
inputs=[result_images],
|
||||
outputs=[init_img_with_mask],
|
||||
)
|
||||
|
|
|
@ -467,3 +467,10 @@ input[type="range"]{
|
|||
max-width: 32em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
canvas[key="mask"] {
|
||||
z-index: 12 !important;
|
||||
filter: invert();
|
||||
mix-blend-mode: multiply;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue