Skip to content

Commit 41d3c68

Browse files
committed
Document RenderRootState::widget_tags
1 parent 9a2fe3a commit 41d3c68

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

masonry_core/src/app/render_root.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ pub(crate) struct RenderRootState {
149149
/// Scene cache for the widget tree.
150150
pub(crate) scene_cache: HashMap<WidgetId, (Scene, Scene, Scene)>,
151151

152+
// TODO - Add garbage collection.
153+
/// Map from widget tags to widget ids.
152154
pub(crate) widget_tags: HashMap<WidgetTagInner, WidgetId>,
153155

154156
/// Map of layers attached to widgets, keyed by the attached widget id, then the type of the layer root.

0 commit comments

Comments
 (0)