summaryrefslogtreecommitdiffstats
path: root/tiny_skia
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2023-05-10 00:57:24 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-10 00:57:24 +0200
commit22e82dd5d65e21d2c1861e16f718bb15f027a00e (patch)
tree17ac4848ea3ddf097ebb429da9bff36253276fbf /tiny_skia
parent1400b5187d6fa30f5fa4f83684939f6dc87cb55f (diff)
parent75439ff96e11fd38b7800f8af65428aacd279a2e (diff)
downloadiced-22e82dd5d65e21d2c1861e16f718bb15f027a00e.tar.gz
iced-22e82dd5d65e21d2c1861e16f718bb15f027a00e.tar.bz2
iced-22e82dd5d65e21d2c1861e16f718bb15f027a00e.zip
Merge pull request #1842 from wash2/fix-typo
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,