diff options
| author | 2023-04-17 13:55:40 -0700 | |
|---|---|---|
| committer | 2023-04-17 13:55:40 -0700 | |
| commit | 6ad5e03d71db3dee174ac6512dceccc80e3a70a8 (patch) | |
| tree | 3513d1f3f59c89ed1b4736756b2d26b9981afc84 /native/src/widget/operation | |
| parent | b623f280ed43b04cef16a82de4cdf13497b5d63e (diff) | |
| download | iced-6ad5e03d71db3dee174ac6512dceccc80e3a70a8.tar.gz iced-6ad5e03d71db3dee174ac6512dceccc80e3a70a8.tar.bz2 iced-6ad5e03d71db3dee174ac6512dceccc80e3a70a8.zip  | |
Add scrollable `Viewport`
Diffstat (limited to '')
| -rw-r--r-- | native/src/widget/operation/scrollable.rs | 9 | 
1 files changed, 0 insertions, 9 deletions
diff --git a/native/src/widget/operation/scrollable.rs b/native/src/widget/operation/scrollable.rs index 62f4c91e..f947344d 100644 --- a/native/src/widget/operation/scrollable.rs +++ b/native/src/widget/operation/scrollable.rs @@ -64,15 +64,6 @@ pub fn scroll_to<T>(target: Id, offset: AbsoluteOffset) -> impl Operation<T> {      ScrollTo { target, offset }  } -/// The current absolute & relative offset of a [`Scrollable`] -#[derive(Debug, Clone, Copy, PartialEq, Default)] -pub struct CurrentOffset { -    /// The [`AbsoluteOffset`] of a [`Scrollable`] -    pub absolute: AbsoluteOffset, -    /// The [`RelativeOffset`] of a [`Scrollable`] -    pub relative: RelativeOffset, -} -  /// The amount of absolute offset in each direction of a [`Scrollable`].  #[derive(Debug, Clone, Copy, PartialEq, Default)]  pub struct AbsoluteOffset {  | 
