diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-03-27 16:53:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-27 16:53:58 +0100 |
commit | 04c63478568ba7ef23ac4d42199e0928f0725ef4 (patch) | |
tree | 844ca720fbf931651a7776cccac7e18e8f0a19e3 /scene | |
parent | 2498151cd66a4ae2c772f31b0171e1aea5e63b27 (diff) | |
parent | 8b391b9ab0f10ae6bf8d17e3eda4a509f49bca6b (diff) |
Merge pull request #27017 from qarmin/fix_inspector_update
Fix inspector update after changing anchor from buttons
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/control.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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) { |