TEXT SELECTION
This commit is contained in:
1 parent
246caffb34
commit
1cec56e847
10 files changed
+332
-69
No files matched your search
+1
-4
@@ -55,10 +55,7 @@ impl<W: WidgetLike<Tag>, Tag> Eventable<W::Widget, Tag> for W {
|
||||
) -> impl WidgetIdFn<W::Widget> {
|
||||
move |ui| {
|
||||
let id = self.add(ui);
|
||||
ui.data
|
||||
.modules
|
||||
.get_mut::<E::Module<Ctx>>()
|
||||
.register(id.id, event, f);
|
||||
ui.register_event(&id, event, f);
|
||||
id
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user