tasks initial impl (still working on task_on trait method)

This commit is contained in:
2026-01-03 16:26:23 -05:00
parent 5da1e9e767
commit 59901b6580
13 changed files with 231 additions and 26 deletions

View File

@@ -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| {