Skip to content

Add "word or glyph" linebreaking#17

Merged
TotalKrill merged 1 commit intoTotalKrill:cosmic-textfrom
rparrett:cosmic-text-wrap
Jun 26, 2024
Merged

Add "word or glyph" linebreaking#17
TotalKrill merged 1 commit intoTotalKrill:cosmic-textfrom
rparrett:cosmic-text-wrap

Conversation

@rparrett
Copy link

Objective

Add support for cosmic_text::Wrap::WordOrGlyph

Solution

  • Add variant to BreakLineOn, matching Bevy's code style
  • Add a very long word to text_wrap_debug to demonstrate

@TotalKrill TotalKrill merged commit a62d6aa into TotalKrill:cosmic-text Jun 26, 2024
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.

3 participants