diff options
author | 2019-12-03 15:19:59 +0100 | |
---|---|---|
committer | 2019-12-03 15:19:59 +0100 | |
commit | 2cd517c09998f2dd4c8b15ba3b014d9904f957fd (patch) | |
tree | 56e7a78ee356cce1d98c5a445ebd6444d8de36fa /native/src/widget | |
parent | 31e3b6fbcb06bd5e1e5773a7c2febd0cb0092819 (diff) | |
download | iced-2cd517c09998f2dd4c8b15ba3b014d9904f957fd.tar.gz iced-2cd517c09998f2dd4c8b15ba3b014d9904f957fd.tar.bz2 iced-2cd517c09998f2dd4c8b15ba3b014d9904f957fd.zip |
Correct documentation oversight
Diffstat (limited to 'native/src/widget')
-rw-r--r-- | native/src/widget/scrollable.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/native/src/widget/scrollable.rs b/native/src/widget/scrollable.rs index 7753c2d2..3c2625b7 100644 --- a/native/src/widget/scrollable.rs +++ b/native/src/widget/scrollable.rs @@ -454,12 +454,15 @@ pub trait Renderer: crate::Renderer + Sized { /// /// It receives: /// - the [`State`] of the [`Scrollable`] - /// - the bounds of the [`Scrollable`] + /// - the bounds of the [`Scrollable`] widget + /// - the bounds of the [`Scrollable`] content /// - whether the mouse is over the [`Scrollable`] or not - /// - whether the mouse is over the scrollbar or not + /// - whether the mouse is over the [`Scrollbar`] or not + /// - a optional [`Scrollbar`] to be rendered /// - the scrolling offset /// - the drawn content /// + /// [`Scrollbar`]: struct.Scrollbar.html /// [`Scrollable`]: struct.Scrollable.html /// [`State`]: struct.State.html fn draw( |