bevy/crates/bevy_text/src
Carter Anderson 0a8e2a3c9d
Skip empty spans when updating text buffers (#16524)
# Objective

Fixes #16521

## Solution

If an empty span is encountered (such as the default `Text` value), we
skip it entirely when updating buffers. This prevents unnecessarily
bailing when the font doesn't exist (ex: when the default font is
disabled)
2024-11-27 03:28:43 +00:00
..
bounds.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
error.rs Remove thiserror from bevy_text (#15762) 2024-10-09 14:27:09 +00:00
FiraMono-subset.ttf add a default font (#8445) 2023-04-21 22:30:18 +00:00
font.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
font_atlas.rs Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00
font_atlas_set.rs Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00
font_loader.rs Remove thiserror from bevy_text (#15762) 2024-10-09 14:27:09 +00:00
glyph.rs Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00
lib.rs AnimationEvent -> Event and other improvements (#16440) 2024-11-22 00:16:04 +00:00
pipeline.rs Skip empty spans when updating text buffers (#16524) 2024-11-27 03:28:43 +00:00
text.rs Adds some helpful methods to TextFont (#16370) 2024-11-19 01:30:39 +00:00
text2d.rs Text2d scalefactor change detection fix (#16264) 2024-11-13 21:22:20 +00:00
text_access.rs Merge Style properties into Node. Use ComputedNode for computed properties. (#15975) 2024-10-18 22:25:33 +00:00