mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-24 19:01:06 -08:00
Make ctrl+left/right optional
This commit is contained in:
parent
dafe519363
commit
43bdaa2f0e
2 changed files with 2 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
function keyupEditOrder(event) {
|
||||
if (!opts.keyedit_move) return;
|
||||
let target = event.originalTarget || event.composedPath()[0];
|
||||
if (!target.matches("*:is([id*='_toprow'] [id*='_prompt'], .prompt) textarea")) return;
|
||||
if (!event.metaKey && !event.ctrlKey) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue