make painter not stupid (size ctx is kinda tho)
This commit is contained in:
1 parent
486ed0ffd7
commit
2183fbd3cb
9 files changed
+217
-212
No files matched your search
@@ -142,7 +142,7 @@ impl<State: HasUi + 'static> HasEvents for State {
|
||||
id: impl IdLike<Self>,
|
||||
data: &mut <E::Event as Event>::Data<'_>,
|
||||
) {
|
||||
let f = self.ui().data.events.get_type::<E>().run_fn(id);
|
||||
let f = self.ui().events.get_type::<E>().run_fn(id);
|
||||
f(EventCtx { state: self, data })
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user