From 6fbe525f7dafd63b447334b6c476c190b02da7cb Mon Sep 17 00:00:00 2001 From: anapnoe <124302297+anapnoe@users.noreply.github.com> Date: Thu, 27 Apr 2023 12:11:56 +0300 Subject: [PATCH] fix Inpainting, sketch related no longer working #91 --- javascript/ui.js | 4 ++-- style.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/javascript/ui.js b/javascript/ui.js index 4e505a32..6ba4ffaf 100644 --- a/javascript/ui.js +++ b/javascript/ui.js @@ -94,13 +94,13 @@ function switch_to_inpaint_sketch(){ switch_to_img2img_tab(3); return args_to_array(arguments); } -/* + function switch_to_inpaint(){ gradioApp().querySelector('#tabs').querySelectorAll('button')[1].click(); gradioApp().getElementById('mode_img2img').querySelectorAll('button')[2].click(); return args_to_array(arguments); } -*/ + function switch_to_extras(){ gradioApp().querySelector('#tabs').querySelectorAll('button')[2].click(); diff --git a/style.css b/style.css index 0fa5bf8c..5f93429c 100644 --- a/style.css +++ b/style.css @@ -900,7 +900,7 @@ ul.options{ border-width: var(--ae-border-width); max-height:25vh !important; padding:1px; - z-index:9999; + z-index:9999!important; }