summaryrefslogtreecommitdiffstats
path: root/tiny_skia
diff options
context:
space:
mode:
authorLibravatar Ashley Wulber <ashley@system76.com>2023-05-09 16:23:17 -0400
committerLibravatar Ashley Wulber <ashley@system76.com>2023-05-09 16:37:01 -0400
commit75439ff96e11fd38b7800f8af65428aacd279a2e (patch)
tree8743687accb94f85898c61b6ba7ebd68078498bb /tiny_skia
parent9a8b30d7e9cf76c097d68c84736e7687b452d5c0 (diff)
downloadiced-75439ff96e11fd38b7800f8af65428aacd279a2e.tar.gz
iced-75439ff96e11fd38b7800f8af65428aacd279a2e.tar.bz2
iced-75439ff96e11fd38b7800f8af65428aacd279a2e.zip
fix: border radius typo
Diffstat (limited to 'tiny_skia')
-rw-r--r--tiny_skia/src/backend.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tiny_skia/src/backend.rs b/tiny_skia/src/backend.rs
index b6adb8ce..d481bacd 100644
--- a/tiny_skia/src/backend.rs
+++ b/tiny_skia/src/backend.rs
@@ -527,7 +527,7 @@ fn rounded_rectangle(
bounds.y + bounds.height,
);
- if bottom_right > 0.0 {
+ if bottom_left > 0.0 {
arc_to(
&mut builder,
bounds.x + bottom_left,