♻️ Rename TextContent::get_width to TextContent::width

This commit is contained in:
Belén Albeza
2025-09-02 15:07:13 +02:00
parent d25f9cd4bd
commit 50b9e8c6e6
4 changed files with 6 additions and 11 deletions

View File

@@ -19,7 +19,7 @@ pub fn render(
// Width
let paragraph_width = if let crate::shapes::Type::Text(text_content) = &shape.shape_type {
text_content.get_width()
text_content.width()
} else {
shape.width()
};