Merge pull request #27017 from qarmin/fix_inspector_update

Fix inspector update after changing anchor from buttons
This commit is contained in:
Rémi Verschelde 2019-03-27 16:53:58 +01:00 committed by GitHub
commit 04c6347856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {