renaming & comments

This commit is contained in:
2025-09-27 22:16:42 -04:00
parent 8afe2c68e8
commit dc9340b26c
3 changed files with 54 additions and 50 deletions

View File

@@ -53,7 +53,7 @@ impl<W: WidgetLike<Tag>, Tag> CoreWidget<W::Widget, Tag> for W {
}
fn scroll(self) -> impl WidgetIdFn<Offset> {
self.offset(UiVec2::ZERO).edit_on(Sense::Scroll, |w, data| {
self.offset(UiVec2::ZERO).edit_on(CursorSense::Scroll, |w, data| {
w.amt += UiVec2::abs(data.scroll_delta * 50.0);
})
}