fix view leak and add view count

This commit is contained in:
2025-08-24 22:13:02 -04:00
parent 74d01d14d4
commit 44a8b1cbeb
7 changed files with 41 additions and 18 deletions

View File

@@ -273,6 +273,7 @@ pub struct WidgetInstance {
pub span: Range<usize>,
pub children: Vec<Id>,
pub parent: Option<Id>,
pub textures: Vec<TextureHandle>,
}
pub type ActiveWidgets = HashMap<Id, WidgetInstance>;