summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorRobert Hernandez <killerjaguar26@gmail.com>2017-04-01 00:07:35 -0400
committerRobert Hernandez <killerjaguar26@gmail.com>2017-04-01 20:13:52 -0400
commit8078b5ecf68a6a834284167bc7b43ff2c646b204 (patch)
treed66ec745708c6a90f77bb9fbaf3d550140cc1711 /scene/gui
parent6731924dcfa7451d8b31461b438fd2a5aa8af1f6 (diff)
Fixed Node2D/Control not updating properties
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/control.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp
index d2f3eea721..7f9944833a 100644
--- a/scene/gui/control.cpp
+++ b/scene/gui/control.cpp
@@ -1347,12 +1347,12 @@ Control::AnchorType Control::get_anchor(Margin p_margin) const {
void Control::_change_notify_margins() {
// this avoids sending the whole object data again on a change
- _change_notify("margin/left");
- _change_notify("margin/top");
- _change_notify("margin/right");
- _change_notify("margin/bottom");
- _change_notify("rect/pos");
- _change_notify("rect/size");
+ _change_notify("margin_left");
+ _change_notify("margin_top");
+ _change_notify("margin_right");
+ _change_notify("margin_bottom");
+ _change_notify("rect_pos");
+ _change_notify("rect_size");
}
void Control::set_margin(Margin p_margin, float p_value) {