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

fix: Avoid unnecessary NotebookTab updates #5068

Merged
merged 4 commits into from
Jan 6, 2024

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Jan 5, 2024

NotebookTab::setHighlightState wasn't checking if the state changed at all, causing an update() for (almost) every message sent (this would also cause some of the parents to repaint like BaseWindow).

@pajlada pajlada enabled auto-merge (squash) January 6, 2024 10:48
@pajlada pajlada merged commit 1192393 into Chatterino:master Jan 6, 2024
20 checks passed
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