summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqarmin <mikrutrafal54@gmail.com>2019-03-19 18:37:28 +0100
committerqarmin <mikrutrafal54@gmail.com>2019-03-19 18:37:28 +0100
commit8b391b9ab0f10ae6bf8d17e3eda4a509f49bca6b (patch)
tree797d8b2c02882b8f8dec26e4a03700a70b475e6d
parent7b67c5857fd7715774c7a2e07a05ff1fb7304ed1 (diff)
Fix inspector update after changing anchor via buttons
-rw-r--r--scene/gui/control.cpp5
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) {