mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🎉 Add internal TextContent layout data
This commit is contained in:
@@ -530,6 +530,7 @@
|
||||
|
||||
storeFonts(fonts)
|
||||
|
||||
console.log("text shape", uuid);
|
||||
useShape(uuid);
|
||||
Module._set_parent(0, 0, 0, 0);
|
||||
Module._set_shape_type(5);
|
||||
|
||||
@@ -471,6 +471,7 @@ export function updateTextShape(root, fonts) {
|
||||
|
||||
Module._set_shape_text_content();
|
||||
}
|
||||
Module._update_shape_text_layout();
|
||||
}
|
||||
|
||||
export function addTextShape(text, fonts) {
|
||||
|
||||
Reference in New Issue
Block a user