mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Fix layout bug detected thanks to dom_tests.
This commit is contained in:
@@ -44,9 +44,6 @@ class HBox : public Node {
|
||||
|
||||
int x = box.x_min;
|
||||
for (auto& child : children) {
|
||||
if (x > box.x_max)
|
||||
break;
|
||||
|
||||
Box child_box = box;
|
||||
child_box.x_min = x;
|
||||
|
||||
|
Reference in New Issue
Block a user