remove modules and have single event manager (atomics feature parity + preparation for local state)
This commit is contained in:
1 parent
a708813ce7
commit
37b1987aa8
17 files changed
+390
-432
No files matched your search
@@ -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)),
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user