idek stuff like stack
This commit is contained in:
@@ -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