summaryrefslogtreecommitdiffstats
path: root/widget/src/scrollable.rs
diff options
context:
space:
mode:
authorLibravatar Casper Storm <casper.storm@lich.io>2023-05-23 15:28:45 +0200
committerLibravatar Casper Storm <casper.storm@lich.io>2023-05-23 15:28:45 +0200
commit1234d528121265698f9f426ca89fc687dc95dc01 (patch)
tree6e33acf061bdb57c6f27724e4fba339660903081 /widget/src/scrollable.rs
parent1c86defab5f5491b5f6b6e45faabf1b91ed195a3 (diff)
downloadiced-1234d528121265698f9f426ca89fc687dc95dc01.tar.gz
iced-1234d528121265698f9f426ca89fc687dc95dc01.tar.bz2
iced-1234d528121265698f9f426ca89fc687dc95dc01.zip
clippy
Diffstat (limited to 'widget/src/scrollable.rs')
-rw-r--r--widget/src/scrollable.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/scrollable.rs b/widget/src/scrollable.rs
index af5424c0..12e544c5 100644
--- a/widget/src/scrollable.rs
+++ b/widget/src/scrollable.rs
@@ -818,7 +818,7 @@ pub fn draw<Renderer>(
renderer.fill_quad(
renderer::Quad {
bounds: scrollbar.bounds,
- border_radius: style.border_radius.into(),
+ border_radius: style.border_radius,
border_width: style.border_width,
border_color: style.border_color,
},
@@ -838,7 +838,7 @@ pub fn draw<Renderer>(
renderer.fill_quad(
renderer::Quad {
bounds: scrollbar.scroller.bounds,
- border_radius: style.scroller.border_radius.into(),
+ border_radius: style.scroller.border_radius,
border_width: style.scroller.border_width,
border_color: style.scroller.border_color,
},