Fix inspector update after changing anchor via buttons

(cherry picked from commit 8b391b9ab0)
This commit is contained in:
qarmin 2019-03-19 18:37:28 +01:00 committed by Rémi Verschelde
parent 754e1b073a
commit 5650c1ecde
1 changed files with 4 additions and 1 deletions

View File

@ -1388,7 +1388,10 @@ void Control::set_anchor(Margin p_margin, float p_anchor, bool p_keep_margin, bo
} }
update(); 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) { void Control::_set_anchor(Margin p_margin, float p_anchor) {