move widgets on draw if region size is same
This commit is contained in:
1 parent
5f2dffc189
commit
95f049acb4
13 files changed
+204
-176
No files matched your search
+1
-1
@@ -57,7 +57,7 @@ impl<W: WidgetLike<Tag>, Tag> Eventable<W::Widget, Tag> for W {
|
||||
let id = self.add(ui);
|
||||
ui.modules
|
||||
.get_mut::<E::Module<Ctx>>()
|
||||
.register(id.id.duplicate(), event, f);
|
||||
.register(id.id, event, f);
|
||||
id
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user