Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Nov 19, 2023

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
3 checks passed
@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