summaryrefslogtreecommitdiffstats
path: root/widget/src/radio.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-07 21:02:17 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-07 21:02:17 +0100
commit7ece5eea509f3595432babfc7729701f2e063b21 (patch)
tree42502a52270f24d1d323a268a36c689cd92aec82 /widget/src/radio.rs
parentb8f05eb8dd0394e308385796c229cfc5bc4f3a73 (diff)
downloadiced-7ece5eea509f3595432babfc7729701f2e063b21.tar.gz
iced-7ece5eea509f3595432babfc7729701f2e063b21.tar.bz2
iced-7ece5eea509f3595432babfc7729701f2e063b21.zip
Implement additional helpers for `Border` and `container::Appearance`
Diffstat (limited to '')
-rw-r--r--widget/src/radio.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/radio.rs b/widget/src/radio.rs
index e8f1eb1f..34c3b3a0 100644
--- a/widget/src/radio.rs
+++ b/widget/src/radio.rs
@@ -328,7 +328,7 @@ where
width: bounds.width - dot_size,
height: bounds.height - dot_size,
},
- border: Border::with_radius(dot_size / 2.0),
+ border: Border::rounded(dot_size / 2.0),
..renderer::Quad::default()
},
appearance.dot_color,