diff options
author | 2022-11-03 00:35:01 +0100 | |
---|---|---|
committer | 2022-11-03 22:48:26 +0100 | |
commit | c0596179bd8582e4f4b5289cdeee8de4fa3de464 (patch) | |
tree | b1ed80cf49aa846ba7a93cc97128c3ec6eadd123 /native/src/widget/checkbox.rs | |
parent | d222b5c8b0befab665c20ba0112b28199df0ae44 (diff) | |
download | iced-c0596179bd8582e4f4b5289cdeee8de4fa3de464.tar.gz iced-c0596179bd8582e4f4b5289cdeee8de4fa3de464.tar.bz2 iced-c0596179bd8582e4f4b5289cdeee8de4fa3de464.zip |
non uniform border radius for quads
Diffstat (limited to 'native/src/widget/checkbox.rs')
-rw-r--r-- | native/src/widget/checkbox.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/widget/checkbox.rs b/native/src/widget/checkbox.rs index dc3c0bd0..8f30037a 100644 --- a/native/src/widget/checkbox.rs +++ b/native/src/widget/checkbox.rs @@ -236,7 +236,7 @@ where renderer.fill_quad( renderer::Quad { bounds, - border_radius: custom_style.border_radius, + border_radius: custom_style.border_radius.into(), border_width: custom_style.border_width, border_color: custom_style.border_color, }, |