idek stuff like stack
This commit is contained in:
1 parent
a7dfacb83e
commit
f4aef3a983
15 files changed
+138
-42
No files matched your search
+1
-1
@@ -147,7 +147,7 @@ impl<Ctx> Widgets<Ctx> {
|
||||
Self(HashMap::new())
|
||||
}
|
||||
|
||||
pub fn get_dyn(&self, id: &WidgetId) -> &dyn Widget<Ctx> {
|
||||
pub fn get_dyn<W>(&self, id: &WidgetId<W>) -> &dyn Widget<Ctx> {
|
||||
self.0.get(&id.id).unwrap().as_ref()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user