make painter not stupid (size ctx is kinda tho)
This commit is contained in:
@@ -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