Apply wrapping to paragraphs

This commit is contained in:
Konsl 2025-01-07 00:30:14 +01:00
parent e722c4ee4f
commit 664caf7087
No known key found for this signature in database
GPG key ID: F02BC4D967360007

View file

@ -80,6 +80,8 @@ impl core::text::Paragraph for Paragraph {
Some(text.bounds.height),
);
buffer.set_wrap(font_system.raw(), text::to_wrap(text.wrapping));
buffer.set_text(
font_system.raw(),
text.content,