tasks initial impl (still working on task_on trait method)
This commit is contained in:
@@ -84,7 +84,7 @@ widget_trait! {
|
||||
}
|
||||
|
||||
fn scrollable(self) -> impl WidgetIdFn<Rsc, Scroll> where Rsc: HasEvents {
|
||||
use eventable::*;
|
||||
use eventable::Eventable;
|
||||
move |state| {
|
||||
Scroll::new(self.add_strong(state), Axis::Y)
|
||||
.on(CursorSense::Scroll, |ctx, rsc| {
|
||||
|
||||
Reference in New Issue
Block a user