summaryrefslogtreecommitdiffstats
path: root/scene/2d/canvas_item.cpp
diff options
context:
space:
mode:
authorAndreas Haas <liu.gam3@gmail.com>2017-04-03 18:34:44 +0200
committerAndreas Haas <liu.gam3@gmail.com>2017-04-03 18:35:15 +0200
commit0a287cfe4cfe721b3909e9722023c3d469afa886 (patch)
tree40752b51ea85d4f3e5502f41df41432787615e24 /scene/2d/canvas_item.cpp
parentff468e2d4247fc5fc52aea866f72dc4e5b9e6815 (diff)
downloadredot-engine-0a287cfe4cfe721b3909e9722023c3d469afa886.tar.gz
Fix more property names in _change_notify calls.
Diffstat (limited to 'scene/2d/canvas_item.cpp')
-rw-r--r--scene/2d/canvas_item.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/2d/canvas_item.cpp b/scene/2d/canvas_item.cpp
index b52dd8d660..3e5bb7f572 100644
--- a/scene/2d/canvas_item.cpp
+++ b/scene/2d/canvas_item.cpp
@@ -206,7 +206,7 @@ void CanvasItem::show() {
return;
_propagate_visibility_changed(true);
- _change_notify("visibility/visible");
+ _change_notify("visible");
}
void CanvasItem::hide() {
@@ -221,7 +221,7 @@ void CanvasItem::hide() {
return;
_propagate_visibility_changed(false);
- _change_notify("visibility/visible");
+ _change_notify("visible");
}
Variant CanvasItem::edit_get_state() const {