contextless gaming

This commit is contained in:
2025-08-25 19:21:39 -04:00
parent e8b255c8f9
commit e9037cdc14
6 changed files with 27 additions and 46 deletions

View File

@@ -38,7 +38,7 @@ impl<W: WidgetLike<Tag>, Tag> Sensable<W::Widget, Tag> for W {
{
self.with_id(move |ui, id| {
let id2 = id.clone();
ui.add(id.on(sense, move |ctx| f(&id2, ctx)))
ui.add(id.on(sense, move |ui| f(&id2, ui)))
})
}
fn edit_on(