Update cosmic-text to 0.14
This commit is contained in:
parent
c77c4aadd1
commit
6bf6fc60c9
6 changed files with 25 additions and 25 deletions
|
|
@ -85,7 +85,7 @@ impl core::text::Paragraph for Paragraph {
|
|||
buffer.set_text(
|
||||
font_system.raw(),
|
||||
text.content,
|
||||
text::to_attributes(text.font),
|
||||
&text::to_attributes(text.font),
|
||||
text::to_shaping(text.shaping),
|
||||
);
|
||||
|
||||
|
|
@ -154,7 +154,7 @@ impl core::text::Paragraph for Paragraph {
|
|||
|
||||
(span.text.as_ref(), attrs.metadata(i))
|
||||
}),
|
||||
text::to_attributes(text.font),
|
||||
&text::to_attributes(text.font),
|
||||
text::to_shaping(text.shaping),
|
||||
None,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue