From 9f85e0c721927f1e3bd195a998ec7a80ec0e7455 Mon Sep 17 00:00:00 2001 From: bungoboingo Date: Sat, 24 Dec 2022 21:27:44 -0800 Subject: Reworked Scrollable to account for lack of widget order guarantees. Fixed thumb "snapping" bug on scrollable when cursor is out of bounds. --- src/widget.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/widget.rs') diff --git a/src/widget.rs b/src/widget.rs index ee30548c..d034200c 100644 --- a/src/widget.rs +++ b/src/widget.rs @@ -99,8 +99,7 @@ pub mod radio { pub mod scrollable { //! Navigate an endless amount of content with a scrollbar. pub use iced_native::widget::scrollable::{ - snap_to, style::Scrollbar, style::Scroller, Direction, Horizontal, Id, - StyleSheet, + snap_to, style::Scrollbar, style::Scroller, Id, Properties, StyleSheet, }; /// A widget that can vertically display an infinite amount of content -- cgit