diff options
author | Yuri Sizov <yuris@humnom.net> | 2023-01-10 23:07:57 +0300 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-01-10 23:51:27 +0300 |
commit | 42cbdbc7df9e71c0ad806c8e6321794a23d912ad (patch) | |
tree | fc70c5e9be0f722c933e9cb102f9e76804f5722a /scene/gui/control.h | |
parent | 91713ced81792b10fdc9367b7f355738e5d52777 (diff) | |
download | redot-engine-42cbdbc7df9e71c0ad806c8e6321794a23d912ad.tar.gz |
Ensure that the cached layout mode is in sync
Diffstat (limited to 'scene/gui/control.h')
-rw-r--r-- | scene/gui/control.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/control.h b/scene/gui/control.h index 9705dd62db..9147268c86 100644 --- a/scene/gui/control.h +++ b/scene/gui/control.h @@ -280,6 +280,7 @@ private: void _compute_anchors(Rect2 p_rect, const real_t p_offsets[4], real_t (&r_anchors)[4]); void _set_layout_mode(LayoutMode p_mode); + void _update_layout_mode(); LayoutMode _get_layout_mode() const; LayoutMode _get_default_layout_mode() const; void _set_anchors_layout_preset(int p_preset); |