diff options
Diffstat (limited to 'native/src/widget/operation/scrollable.rs')
-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 { |