Skip to content

Commit 0473136

Browse files
committed
Upgrade tiny-skia to 0.12
Signed-off-by: Nico Burns <nico@nicoburns.com>
1 parent 70b7ab5 commit 0473136

File tree

3 files changed

+32
-6
lines changed

3 files changed

+32
-6
lines changed

Cargo.lock

Lines changed: 30 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/anyrender_tiny_skia/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ anyhow = "1.0"
1515
debug_timer = { workspace = true }
1616
kurbo = { workspace = true }
1717
peniko = { workspace = true }
18-
tiny-skia = "0.11"
18+
tiny-skia = "0.12"
1919
swash = { workspace = true }
2020

2121
# WindowRenderer backends

crates/anyrender_tiny_skia/src/scene.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,7 @@ fn brush_to_paint<'b>(
859859
.unwrap_or_else(Transform::identity);
860860
RadialGradient::new(
861861
to_point(radial.start_center),
862+
radial.start_radius,
862863
to_point(radial.end_center),
863864
radial.end_radius,
864865
stops,

0 commit comments

Comments
 (0)