mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-02 05:43:39 -08:00
fix doubleclick bug
This commit is contained in:
parent
bb28126e6d
commit
62efce4a37
1 changed files with 1 additions and 1 deletions
|
|
@ -1455,7 +1455,7 @@ function extraNetworksSetupEventDelegators() {
|
|||
}
|
||||
}
|
||||
|
||||
if (event.detail === 2) {
|
||||
if (event.detail % 2 === 0) {
|
||||
for (const obj of dbl_press_event_map) {
|
||||
const elem = event.target.closest(obj.selector);
|
||||
const neg = obj.negative ? event.target.closest(obj.negative) : null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue