summaryrefslogtreecommitdiff
path: root/scene/2d/canvas_item.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-05-19 23:07:11 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-05-19 23:07:11 -0300
commitfec6aaffd81a871393a7a428921dc6e8be149d3c (patch)
treefddf2bf323ca98acea96e8a58712f5072e5bda74 /scene/2d/canvas_item.cpp
parent9f686563d042681eade41254a5f2f10cb0045347 (diff)
more fixes
fix ctrl-a for some cases, mentioned in #1704 fix toggling visibility not updating, fixes #1923
Diffstat (limited to 'scene/2d/canvas_item.cpp')
-rw-r--r--scene/2d/canvas_item.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/2d/canvas_item.cpp b/scene/2d/canvas_item.cpp
index 9b2cdf4ea2..6a1ea0728d 100644
--- a/scene/2d/canvas_item.cpp
+++ b/scene/2d/canvas_item.cpp
@@ -288,6 +288,7 @@ void CanvasItem::show() {
if (is_visible()) {
_propagate_visibility_changed(true);
}
+ _change_notify("visibility/visible");
}
@@ -305,6 +306,7 @@ void CanvasItem::hide() {
if (propagate)
_propagate_visibility_changed(false);
+ _change_notify("visibility/visible");
}