mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-24 10:51:03 -08:00
fix ctrl+up/down attention edit
fix dropdown obscured by live preview stylistic changes
This commit is contained in:
parent
9f0da9f6ed
commit
9b2f205400
3 changed files with 14 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
function keyupEditAttention(event){
|
||||
let target = event.originalTarget || event.composedPath()[0];
|
||||
if (!target.matches("[id*='_toprow'] textarea.gr-text-input[placeholder]")) return;
|
||||
if (! target.matches("[id*='_toprow'] [id*='_prompt'] textarea")) return;
|
||||
if (! (event.metaKey || event.ctrlKey)) return;
|
||||
|
||||
let isPlus = event.key == "ArrowUp"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue