small stuff
This commit is contained in:
@@ -43,7 +43,7 @@ impl UIBuilder {
|
||||
}
|
||||
|
||||
pub fn finish<W: WidgetLike>(mut self, base: W) -> UI {
|
||||
let base = base.id(&mut self).erase_type();
|
||||
let base = base.add(&mut self).erase_type();
|
||||
let mut ui = Rc::into_inner(self.ui).unwrap().into_inner();
|
||||
ui.base = Some(base);
|
||||
ui
|
||||
|
||||
Reference in New Issue
Block a user