mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Simplify the requirement struct.
This commit is contained in:

committed by
Arthur Sonzogni

parent
3490d56662
commit
7f7775ba62
@@ -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 {
|
||||
|
Reference in New Issue
Block a user