summaryrefslogtreecommitdiffstats
path: root/scene/gui/control.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2023-01-11 01:29:51 +0100
committerGitHub <noreply@github.com>2023-01-11 01:29:51 +0100
commit3e2843e3ad7b43940133ca0f67adf08f9da31a9b (patch)
tree9856da8e6db4d5327dc6a06e5f4217f4f9bc4af8 /scene/gui/control.h
parentcbe3841a43586409b0c15e8e33bf2f989bf5f0c9 (diff)
parent42cbdbc7df9e71c0ad806c8e6321794a23d912ad (diff)
downloadredot-engine-3e2843e3ad7b43940133ca0f67adf08f9da31a9b.tar.gz
Merge pull request #71183 from YuriSizov/control-refresh-layouts-by-parents
Ensure that the cached layout mode is in sync
Diffstat (limited to 'scene/gui/control.h')
-rw-r--r--scene/gui/control.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/control.h b/scene/gui/control.h
index 52efe42bd5..22a37dd89e 100644
--- a/scene/gui/control.h
+++ b/scene/gui/control.h
@@ -282,6 +282,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);