aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/control.cpp
diff options
context:
space:
mode:
authorGilles Roudiere2017-07-11 00:14:22 +0200
committerGilles Roudiere2017-08-13 21:20:13 +0200
commitbd0384a9e93e3e8d792cef678dd9f3467a6a088d (patch)
treed312cdf5a1cbd1441c7c0bdc4d5d5a3838636a73 /scene/gui/control.cpp
parent0d35d4d53b12197bea3650293bbc342fc0b57139 (diff)
downloadgodot-bd0384a9e93e3e8d792cef678dd9f3467a6a088d.tar.gz
godot-bd0384a9e93e3e8d792cef678dd9f3467a6a088d.tar.zst
godot-bd0384a9e93e3e8d792cef678dd9f3467a6a088d.zip
Diffstat (limited to 'scene/gui/control.cpp')
-rw-r--r--scene/gui/control.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp
index 4d0678db7..f7058989a 100644
--- a/scene/gui/control.cpp
+++ b/scene/gui/control.cpp
@@ -1304,6 +1304,7 @@ void Control::set_anchor(Margin p_margin, float p_anchor, bool p_keep_margin) {
_size_changed();
}
}
+ update();
_change_notify();
}