mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-02-22 16:04:16 +00:00
Don't capture keydown if CTRL or ALT is held
Prevents the script from blocking weight editing and prompt submit shortcuts Fixes #19
This commit is contained in:
@@ -458,6 +458,8 @@ function navigateInList(textArea, event) {
|
||||
|
||||
if (!validKeys.includes(event.key)) return;
|
||||
if (!isVisible(textArea)) return
|
||||
// Return if ctrl key is pressed to not interfere with weight editing shortcut
|
||||
if (event.ctrlKey || event.altKey) return;
|
||||
|
||||
switch (event.key) {
|
||||
case "ArrowUp":
|
||||
|
||||
Reference in New Issue
Block a user