diff --git a/Widgets/examples/Example.cpp b/Widgets/examples/Example.cpp index 33f9868..37e2814 100644 --- a/Widgets/examples/Example.cpp +++ b/Widgets/examples/Example.cpp @@ -64,6 +64,7 @@ public: static ButtonWidget buttons[10]; widget.setDirection(false); + // widget.setDirection(false); setRoot(&widget); diff --git a/Widgets/private/managers/LayoutManager.cpp b/Widgets/private/managers/LayoutManager.cpp index 83f51ba..acd8f8f 100644 --- a/Widgets/private/managers/LayoutManager.cpp +++ b/Widgets/private/managers/LayoutManager.cpp @@ -36,7 +36,7 @@ void LayoutManager::findDependencies(Widget* root) { if (!widget->isUpdate()) continue; for (auto child : widget->mChildren) { - // if (!child->isUpdate()) continue; + if (!child->isUpdate()) continue; mDepGraph.insert({ child, {} });