diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2022-09-22 18:53:24 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2022-09-22 19:09:12 -0500 |
commit | c3970f8fe5a0c437c546e6af9c7ac9ee75feb0ee (patch) | |
tree | f0cecf6a541a9b637d76b110281b9a7b1b60819d /scene/gui/control.h | |
parent | 62792eeb9fac4f44272f59f95ec8eb3abc0432a7 (diff) | |
download | redot-engine-c3970f8fe5a0c437c546e6af9c7ac9ee75feb0ee.tar.gz |
Revert custom_minimum_size type back to Vector2 instead of Vector2i
Diffstat (limited to 'scene/gui/control.h')
-rw-r--r-- | scene/gui/control.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/gui/control.h b/scene/gui/control.h index ee6443c81c..1af49a591b 100644 --- a/scene/gui/control.h +++ b/scene/gui/control.h @@ -200,7 +200,7 @@ private: int h_size_flags = SIZE_FILL; int v_size_flags = SIZE_FILL; real_t expand = 1.0; - Point2i custom_minimum_size; + Point2 custom_minimum_size; // Input events and rendering. @@ -460,8 +460,8 @@ public: virtual Size2 get_minimum_size() const; virtual Size2 get_combined_minimum_size() const; - void set_custom_minimum_size(const Size2i &p_custom); - Size2i get_custom_minimum_size() const; + void set_custom_minimum_size(const Size2 &p_custom); + Size2 get_custom_minimum_size() const; // Container sizing. |