This commit is contained in:
iris committed 2026-01-12 18:40:27 -05:00
1 parent a9c76e4326
commit 79813db3ba
35 files changed
+378 -403

No files matched your search

+1 -1
View File
@@ -125,7 +125,7 @@ widget_trait! {
|state| self.add(state)
}
fn set_ptr(self, ptr: WidgetRef<WidgetPtr>, state: &mut Rsc) {
fn set_ptr(self, ptr: WeakWidget<WidgetPtr>, state: &mut Rsc) {
let id = self.add_strong(state);
state.ui_mut()[ptr].inner = Some(id);
}