Split text measurements cache from rendering cache
This speeds up layouting in the most common scenario considerably!
🎉
This commit is contained in:
parent
d4d14b68f4
commit
860a6923bb
9 changed files with 53 additions and 24 deletions
|
|
@ -1,6 +1,6 @@
|
|||
//! Display images in your user interface.
|
||||
|
||||
use crate::{Align, Length, Rectangle};
|
||||
use crate::{Length, Rectangle};
|
||||
|
||||
/// A frame that displays an image while keeping aspect ratio.
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue