Merge pull request #49167 from amoriqbal/3.3-inspector-patch

Fixed inspector not updating anchor
This commit is contained in:
Rémi Verschelde 2021-06-20 12:42:21 +02:00 committed by GitHub
commit 03f275e66f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,10 @@ void Control::_edit_set_state(const Dictionary &p_state) {
data.margin[MARGIN_RIGHT] = margins[2]; data.margin[MARGIN_RIGHT] = margins[2];
data.margin[MARGIN_BOTTOM] = margins[3]; data.margin[MARGIN_BOTTOM] = margins[3];
_size_changed(); _size_changed();
_change_notify("anchor_left");
_change_notify("anchor_right");
_change_notify("anchor_top");
_change_notify("anchor_bottom");
} }
void Control::_edit_set_position(const Point2 &p_position) { void Control::_edit_set_position(const Point2 &p_position) {