mirror of
https://github.com/penpot/penpot.git
synced 2025-06-03 08:31:39 +02:00
🐛 Fix stroke paragraphs
This commit is contained in:
parent
1383010826
commit
a5660819de
1 changed files with 3 additions and 3 deletions
|
@ -125,10 +125,10 @@ impl TextContent {
|
||||||
let text: String = leaf.apply_text_transform(paragraph.text_transform);
|
let text: String = leaf.apply_text_transform(paragraph.text_transform);
|
||||||
builder.push_style(&stroke_style);
|
builder.push_style(&stroke_style);
|
||||||
builder.add_text(&text);
|
builder.add_text(&text);
|
||||||
let p = builder.build();
|
builder.pop();
|
||||||
stroke_paragraphs.push(p);
|
|
||||||
}
|
}
|
||||||
builder.reset();
|
let p = builder.build();
|
||||||
|
stroke_paragraphs.push(p);
|
||||||
}
|
}
|
||||||
paragraph_group.push(stroke_paragraphs);
|
paragraph_group.push(stroke_paragraphs);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue