remove modules and have single event manager (atomics feature parity + preparation for local state)

This commit is contained in:
iris committed 2025-12-12 01:46:24 -05:00
1 parent a708813ce7
commit 37b1987aa8
17 files changed
+390 -432

No files matched your search

+2 -1
View File
@@ -125,7 +125,8 @@ impl DefaultAppState for Client {
add_text.h.width(rest(1)),
Rect::new(Color::GREEN)
.on(CursorSense::click(), move |ctx| {
ctx.ui.run_event(ctx.state, add_text.r, Submit, ());
ctx.ui
.run_event::<Submit, _>(ctx.state, add_text.r, &mut ());
})
.sized((40, 40)),
)