From 75439ff96e11fd38b7800f8af65428aacd279a2e Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Tue, 9 May 2023 16:23:17 -0400 Subject: fix: border radius typo --- tiny_skia/src/backend.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tiny_skia/src') 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, -- cgit