From 5650c1ecde0aba678be7a3584cd3522a72ecb22a Mon Sep 17 00:00:00 2001 From: qarmin Date: Tue, 19 Mar 2019 18:37:28 +0100 Subject: [PATCH] Fix inspector update after changing anchor via buttons (cherry picked from commit 8b391b9ab0f10ae6bf8d17e3eda4a509f49bca6b) --- scene/gui/control.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index 86894ce070e..c7cd2bb6d83 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -1388,7 +1388,10 @@ void Control::set_anchor(Margin p_margin, float p_anchor, bool p_keep_margin, bo } update(); - _change_notify("anchor"); + _change_notify("anchor_left"); + _change_notify("anchor_right"); + _change_notify("anchor_top"); + _change_notify("anchor_bottom"); } void Control::_set_anchor(Margin p_margin, float p_anchor) {