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

style: cancel old message highlight animations #4203

Merged
merged 2 commits into from
Oct 12, 2024

Conversation

WofWca
Copy link
Collaborator

@WofWca WofWca commented Oct 10, 2024

I.e. when we highlight a new message as a result of jumpToMessage,
remove the animation on the previously highlighted message
(or messages).

This is particularly useful for the Ctrl + Up shortcut
which is to choose the message to reply to.

Just FYI the added code usually takes 0.1-0.5ms to execute.

@WofWca WofWca force-pushed the wofwca/highlight-only-one-message branch from 6f00432 to 7fa6025 Compare October 10, 2024 16:41
@WofWca WofWca changed the title style: cancel old highlight animations style: cancel old message highlight animations Oct 10, 2024
@WofWca WofWca force-pushed the wofwca/highlight-only-one-message branch from 7fa6025 to 0bf30de Compare October 10, 2024 16:42
@WofWca WofWca marked this pull request as ready for review October 10, 2024 16:43
I.e. when we highlight a new message as a result of `jumpToMessage`,
remove the animation on the previously highlighted message
(or messages).

This is particularly useful for the Ctrl + Up shortcut
which is to choose the message to reply to.

Just FYI the added code usually takes 0.1-0.5ms to execute.
@WofWca WofWca force-pushed the wofwca/highlight-only-one-message branch from 0bf30de to 1a45bc0 Compare October 11, 2024 10:35
@Simon-Laux Simon-Laux merged commit 50c5b9b into main Oct 12, 2024
3 of 7 checks passed
@Simon-Laux Simon-Laux deleted the wofwca/highlight-only-one-message branch October 12, 2024 01:27
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.

3 participants