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 Issues: more and more Wrap are added every time the mouse is moved. #5106

Closed
wants to merge 1 commit into from

Conversation

rustbasic
Copy link
Contributor

@rustbasic rustbasic commented Sep 13, 2024

Fix Issues: more and more Wrap are added every time the mouse is moved.

Using floor() will cause the value of wrap.max_width to keep getting smaller.
You should use round() or ceil() to prevent the value of wrap.max_width from getting smaller.

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.

#5077 After update, more and more Wrap are added every time the mouse is moved.
1 participant