summaryrefslogtreecommitdiffstats
path: root/graphics/src/text
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src/text')
-rw-r--r--graphics/src/text/paragraph.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/src/text/paragraph.rs b/graphics/src/text/paragraph.rs
index d99b8412..ee7c04c8 100644
--- a/graphics/src/text/paragraph.rs
+++ b/graphics/src/text/paragraph.rs
@@ -27,6 +27,8 @@ impl Paragraph {
}
pub fn with_text(text: Text<'_, Font>, font_system: &FontSystem) -> Self {
+ log::trace!("\nAllocating paragraph: {}", text.content);
+
let mut font_system = font_system.write();
let mut buffer = cosmic_text::Buffer::new(