Cached TextLayout in RenderPrimitive
Avoids having to run the calculation every frame when extracting.
Showing
- bevy_kayak_ui/src/render/font/extract.rs 10 additions, 29 deletionsbevy_kayak_ui/src/render/font/extract.rs
- kayak_core/src/render_primitive.rs 10 additions, 6 deletionskayak_core/src/render_primitive.rs
- kayak_core/src/widget_manager.rs 5 additions, 13 deletionskayak_core/src/widget_manager.rs
- kayak_font/src/layout.rs 1 addition, 1 deletionkayak_font/src/layout.rs
Please register or sign in to comment