Skip to content

Fixes generation restart not working for some users when 'Ctrl+Enter' is pressed#13962

Merged
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
kaalibro:dev
Nov 19, 2023
Merged

Fixes generation restart not working for some users when 'Ctrl+Enter' is pressed#13962
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
kaalibro:dev

Conversation

@kaalibro
Copy link
Contributor

Description

As you expected, a delay of 500 ms may not be enough. In my case it is.

I suggest using MutationObserver instead of setTimeout to observe the 'Interrupt' button state.

The required delay time may be different for some users, but pressing the 'Generate' button depending on the 'Interrupt' state triggers accurately.

Screenshots/videos:

13644.fix.mp4

Checklist:

@AUTOMATIC1111 AUTOMATIC1111 merged commit 5a031d9 into AUTOMATIC1111:dev Nov 19, 2023
@w-e-w w-e-w mentioned this pull request Dec 4, 2023
@w-e-w w-e-w mentioned this pull request Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants