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 emotes not cleared when scrolling/switching states. #397

Merged
merged 1 commit into from
Jun 24, 2023

Conversation

Nogesma
Copy link
Contributor

@Nogesma Nogesma commented Jun 23, 2023

With the 0.24 update emotes were broken.
They can't be cloned as the state of the Emote struct needs to be persistent across each app drawing.

I've cleaned up a bit the emote clearing code when switching state/channels.

I'm also still waiting on the release of image-rs 0.24.7 for the white background fix.

@Xithrius Xithrius self-requested a review June 24, 2023 01:07
Copy link
Owner

@Xithrius Xithrius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@Xithrius Xithrius merged commit 0f48dd6 into Xithrius:main Jun 24, 2023
@Nogesma Nogesma deleted the fix/emotes branch June 28, 2023 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants