Skip to content

Fix wrong galley split behavior when text ends with new line#7320

Merged
lucasmerlin merged 1 commit intomainfrom
lucas/fix-ends-with-new-line
Jul 9, 2025
Merged

Fix wrong galley split behavior when text ends with new line#7320
lucasmerlin merged 1 commit intomainfrom
lucas/fix-ends-with-new-line

Conversation

@lucasmerlin
Copy link
Collaborator

The last \n was ignored for texts ending with \n in the galley split logic.

@lucasmerlin lucasmerlin added bug Something is broken exclude from changelog labels Jul 9, 2025
@github-actions
Copy link

github-actions bot commented Jul 9, 2025

Preview available at https://egui-pr-preview.github.io/pr/7320-lucasfix-ends-with-new-line
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

Copy link
Collaborator

@abey79 abey79 left a comment

Choose a reason for hiding this comment

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

nice

@lucasmerlin lucasmerlin merged commit 087e56a into main Jul 9, 2025
47 of 49 checks passed
@lucasmerlin lucasmerlin deleted the lucas/fix-ends-with-new-line branch July 9, 2025 16:18
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