Debug Tools and Scrollable widget

This commit is contained in:
IlyaShurupov 2024-11-05 19:36:20 +03:00
parent 402a4fdebd
commit c82ad3c150
2 changed files with 2 additions and 1 deletions

View file

@ -64,6 +64,7 @@ public:
static ButtonWidget buttons[10]; static ButtonWidget buttons[10];
widget.setDirection(false); widget.setDirection(false);
// widget.setDirection(false);
setRoot(&widget); setRoot(&widget);

View file

@ -36,7 +36,7 @@ void LayoutManager::findDependencies(Widget* root) {
if (!widget->isUpdate()) continue; if (!widget->isUpdate()) continue;
for (auto child : widget->mChildren) { for (auto child : widget->mChildren) {
// if (!child->isUpdate()) continue; if (!child->isUpdate()) continue;
mDepGraph.insert({ child, {} }); mDepGraph.insert({ child, {} });