small stuff

This commit is contained in:
2025-08-10 14:35:01 -04:00
parent b6e43c157b
commit 577d62b1da
4 changed files with 22 additions and 21 deletions

View File

@@ -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