From 8b391b9ab0f10ae6bf8d17e3eda4a509f49bca6b Mon Sep 17 00:00:00 2001 From: qarmin Date: Tue, 19 Mar 2019 18:37:28 +0100 Subject: Fix inspector update after changing anchor via buttons --- scene/gui/control.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scene/gui') diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index 86894ce070..c7cd2bb6d8 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) { -- cgit v1.2.3