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 crash in text layout #1468

Merged
merged 4 commits into from
Apr 9, 2022
Merged

Fix crash in text layout #1468

merged 4 commits into from
Apr 9, 2022

Conversation

emilk
Copy link
Owner

@emilk emilk commented Apr 9, 2022

This happened when max_width == 0.0 and max_rows == 0. Bug introduced in #1291

Using `max_rows == 0` as a special case was a bad idea.
@emilk emilk changed the title Attempted fix for a crash reported on Discord Fix crash in text layout Apr 9, 2022
@emilk emilk merged commit c2ab040 into master Apr 9, 2022
@emilk emilk deleted the fix-text-layout-crash branch April 9, 2022 20:43
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.

1 participant