diff options
author | 2023-05-23 15:28:45 +0200 | |
---|---|---|
committer | 2023-05-23 15:28:45 +0200 | |
commit | 1234d528121265698f9f426ca89fc687dc95dc01 (patch) | |
tree | 6e33acf061bdb57c6f27724e4fba339660903081 /widget/src/button.rs | |
parent | 1c86defab5f5491b5f6b6e45faabf1b91ed195a3 (diff) | |
download | iced-1234d528121265698f9f426ca89fc687dc95dc01.tar.gz iced-1234d528121265698f9f426ca89fc687dc95dc01.tar.bz2 iced-1234d528121265698f9f426ca89fc687dc95dc01.zip |
clippy
Diffstat (limited to 'widget/src/button.rs')
-rw-r--r-- | widget/src/button.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/button.rs b/widget/src/button.rs index 7eee69cb..70fed1d5 100644 --- a/widget/src/button.rs +++ b/widget/src/button.rs @@ -395,7 +395,7 @@ where y: bounds.y + styling.shadow_offset.y, ..bounds }, - border_radius: styling.border_radius.into(), + border_radius: styling.border_radius, border_width: 0.0, border_color: Color::TRANSPARENT, }, @@ -406,7 +406,7 @@ where renderer.fill_quad( renderer::Quad { bounds, - border_radius: styling.border_radius.into(), + border_radius: styling.border_radius, border_width: styling.border_width, border_color: styling.border_color, }, |