diff options
author | 2021-12-07 16:29:38 +0700 | |
---|---|---|
committer | 2021-12-07 16:29:38 +0700 | |
commit | 6f3a608717e08330187871516b1ab54a9a2192a3 (patch) | |
tree | 23df8c8b42be96940ca7861f4481ccc90c04813b /native/src/widget/scrollable.rs | |
parent | 3f5ec5b20a48aebd6bd3e22506b01a08feaccdfc (diff) | |
parent | fa9fb65ace74af869513db92e86c64f90f500f59 (diff) | |
download | iced-6f3a608717e08330187871516b1ab54a9a2192a3.tar.gz iced-6f3a608717e08330187871516b1ab54a9a2192a3.tar.bz2 iced-6f3a608717e08330187871516b1ab54a9a2192a3.zip |
Merge pull request #1142 from iced-rs/fix/unused-lints
Remove unused fields
Diffstat (limited to 'native/src/widget/scrollable.rs')
-rw-r--r-- | native/src/widget/scrollable.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/native/src/widget/scrollable.rs b/native/src/widget/scrollable.rs index fac8af9e..3ef737c0 100644 --- a/native/src/widget/scrollable.rs +++ b/native/src/widget/scrollable.rs @@ -199,7 +199,6 @@ impl<'a, Message, Renderer: crate::Renderer> Scrollable<'a, Message, Renderer> { Some(Scrollbar { outer_bounds, bounds: scrollbar_bounds, - margin: self.scrollbar_margin, scroller: Scroller { bounds: scroller_bounds, }, @@ -720,9 +719,6 @@ struct Scrollbar { /// The bounds of the [`Scrollbar`]. bounds: Rectangle, - /// The margin within the [`Scrollbar`]. - margin: u16, - /// The bounds of the [`Scroller`]. scroller: Scroller, } |