Simplify the requirement struct.

This commit is contained in:
ArthurSonzogni
2020-06-01 16:13:29 +02:00
committed by Arthur Sonzogni
parent 3490d56662
commit 7f7775ba62
15 changed files with 92 additions and 95 deletions

View File

@@ -13,8 +13,8 @@ class Separator : public Node {
Separator() {}
~Separator() override {}
void ComputeRequirement() override {
requirement_.min.x = 1;
requirement_.min.y = 1;
requirement_.min_x = 1;
requirement_.min_y = 1;
}
void Render(Screen& screen) override {