diff options
author | Juan Linietsky <reduzio@gmail.com> | 2023-01-07 20:37:21 +0100 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2023-01-08 18:47:48 +0100 |
commit | 47592927b31b7655b55383d72665c94176008477 (patch) | |
tree | 2e43064219ca64a24ad6ef3e45a599c9ca48c378 /scene/gui/grid_container.cpp | |
parent | fcba87e696d58912838d8a4a6987b10efa28e78f (diff) |
Use BitField<> hint for ArrayFormat
This was missing in the conversion of bitflags to BitField<>.
Diffstat (limited to 'scene/gui/grid_container.cpp')
-rw-r--r-- | scene/gui/grid_container.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/grid_container.cpp b/scene/gui/grid_container.cpp index e11afdf00d..28f86369a2 100644 --- a/scene/gui/grid_container.cpp +++ b/scene/gui/grid_container.cpp @@ -73,10 +73,10 @@ void GridContainer::_notification(int p_what) { row_minh[row] = ms.height; } - if (c->get_h_size_flags() & SIZE_EXPAND) { + if (c->get_h_size_flags().has_flag(SIZE_EXPAND)) { col_expanded.insert(col); } - if (c->get_v_size_flags() & SIZE_EXPAND) { + if (c->get_v_size_flags().has_flag(SIZE_EXPAND)) { row_expanded.insert(row); } } |