diff --git a/rfcs/rfc-3-layout-callbacks.md b/rfcs/rfc-3-layout-callbacks.md index 8cef03f396c4e1ec1f86431566f860894d4c966b..7e0a1d35971d123cae3594f19bf26be6492515ce 100644 --- a/rfcs/rfc-3-layout-callbacks.md +++ b/rfcs/rfc-3-layout-callbacks.md @@ -179,6 +179,8 @@ impl LayoutEventDispatcher { .collect(); for node_index in dirty_nodes { + // We should be able to just get layout from WidgetManager here + // since the layouts will be calculated by this point let mut layout_event = /* ... */ let mut widget = context.widget_manager.take(node_index);