summaryrefslogtreecommitdiffstats
path: root/tiny_skia
diff options
context:
space:
mode:
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,