Update cosmic-text to 0.14 (#18651)
# Objective New cosmic-text version is out, we should use it. ## Solution Bump the version. ## Testing Code compiles, text example works
This commit is contained in:
parent
9167f02bdf
commit
78d9f05d31
@ -33,7 +33,7 @@ bevy_platform = { path = "../bevy_platform", version = "0.16.0-dev", default-fea
|
||||
] }
|
||||
|
||||
# other
|
||||
cosmic-text = { version = "0.13", features = ["shape-run-cache"] }
|
||||
cosmic-text = { version = "0.14", features = ["shape-run-cache"] }
|
||||
thiserror = { version = "2", default-features = false }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
smallvec = "1.13"
|
||||
|
@ -188,7 +188,7 @@ impl TextPipeline {
|
||||
buffer.set_rich_text(
|
||||
font_system,
|
||||
spans_iter,
|
||||
Attrs::new(),
|
||||
&Attrs::new(),
|
||||
Shaping::Advanced,
|
||||
Some(justify.into()),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user