mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-30 04:11:15 -08:00
close on escape
This commit is contained in:
parent
c76a616bc9
commit
7e42a0f35a
1 changed files with 3 additions and 0 deletions
|
|
@ -53,6 +53,9 @@ function modalKeyHandler(event){
|
|||
case "ArrowRight":
|
||||
modalNextImage(event)
|
||||
break;
|
||||
case "Escape":
|
||||
closeModal();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue