Checkpoint

This commit is contained in:
Mikayla 2023-11-06 15:11:22 -08:00
parent ea6755b1ca
commit 3c93b585ab
No known key found for this signature in database
7 changed files with 85 additions and 33 deletions

View file

@ -127,6 +127,7 @@ impl<V: 'static> Element<V> for Text<V> {
let element_state = element_state
.as_ref()
.expect("measurement has not been performed");
let line_height = element_state.line_height;
let mut line_origin = bounds.origin;
for line in &element_state.lines {