Update cosmic-text to 0.14
This commit is contained in:
parent
c77c4aadd1
commit
6bf6fc60c9
6 changed files with 25 additions and 25 deletions
|
|
@ -47,7 +47,7 @@ impl Text {
|
|||
let mut buffer = cosmic_text::BufferLine::new(
|
||||
&self.content,
|
||||
cosmic_text::LineEnding::default(),
|
||||
cosmic_text::AttrsList::new(text::to_attributes(self.font)),
|
||||
cosmic_text::AttrsList::new(&text::to_attributes(self.font)),
|
||||
text::to_shaping(self.shaping),
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue