Skip to content

Commit

Permalink
Fix unneeded re-shaping during layout on text_input edit
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Feb 12, 2025
1 parent 7c1123d commit 97f1db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widget/src/text_input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1726,7 +1726,7 @@ fn replace_paragraph<Renderer>(
bounds: Size::new(f32::INFINITY, text_bounds.height),
size: text_size,
horizontal_alignment: alignment::Horizontal::Left,
vertical_alignment: alignment::Vertical::Top,
vertical_alignment: alignment::Vertical::Center,
shaping: text::Shaping::Advanced,
wrapping: text::Wrapping::default(),
});
Expand Down

0 comments on commit 97f1db3

Please sign in to comment.