From e2b79ac143e1efa82ceda09ac3a7421d048ee89b Mon Sep 17 00:00:00 2001 From: MrGVSV <gino.valente.code@gmail.com> Date: Mon, 21 Feb 2022 14:20:45 -0800 Subject: [PATCH] Added clarifying comment --- rfcs/rfc-3-layout-callbacks.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rfcs/rfc-3-layout-callbacks.md b/rfcs/rfc-3-layout-callbacks.md index 8cef03f..7e0a1d3 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); -- GitLab