mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
♻️ Rename TextContent::get_width to TextContent::width
This commit is contained in:
@@ -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()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user