![]() # Objective Alternative to #9660, which is outdated since "required components" landed. Fixes #9655 ## Solution This is a different approach than the linked PR, slotting the warning into an existing check for zero or negative font sizes in the text pipeline. ## Testing Replaced a font size with `0.0` in `examples/ui/text.rs`. ``` 2025-01-22T23:26:08.239688Z INFO bevy_winit::system: Creating new window App (0v1) 2025-01-22T23:26:08.617505Z WARN bevy_text::pipeline: Text span 10v1 has a font size <= 0.0. Nothing will be displayed. ``` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |