-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Improve how the wait-cursor is toggled when copying all text #18244
Conversation
- Use a CSS rule to display the wait-cursor during copying. Since copying may take a little while in long documents, there's a theoretical risk that something else could change the cursor in the meantime and just resetting to the saved-cursor could thus be incorrect. - Remove the `interruptCopyCondition` listener with an AbortController, since that's slightly shorter code.
/botio integrationtest |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/3753bc8508fcac7/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/a45c49c6ebdb655/output.txt |
/botio-windows integrationtest |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/f19b5910ce879e5/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/3753bc8508fcac7/output.txt Total script time: 7.61 mins
|
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/f19b5910ce879e5/output.txt Total script time: 20.56 mins
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you.
Thanks! |
Use a CSS rule to display the wait-cursor during copying. Since copying may take a little while in long documents, there's a theoretical risk that something else could change the cursor in the meantime and just resetting to the saved-cursor could thus be incorrect.
Remove the
interruptCopyCondition
listener with an AbortController, since that's slightly shorter code.