Debug Tools and Scrollable widget
This commit is contained in:
parent
f68f91f7d5
commit
458e56fb4c
27 changed files with 274 additions and 103 deletions
|
|
@ -33,7 +33,11 @@ void LayoutManager::findDependencies(Widget* root) {
|
|||
Widget::dfs(root, [this](Widget* widget) { mDepGraph.insert({ widget, {} }); });
|
||||
|
||||
for (auto& [widget, deps] : mDepGraph) {
|
||||
if (!widget->isUpdate()) continue;
|
||||
|
||||
for (auto child : widget->mChildren) {
|
||||
if (!child->isUpdate()) continue;
|
||||
|
||||
mDepGraph.insert({ child, {} });
|
||||
|
||||
if (auto depOrder = getLayoutOrder(widget->getLayout(), child->getLayout())) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue