diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-12-08 13:50:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 13:50:15 +0100 |
commit | 3846a3703a109a0a9ae2aa7ec69c3b6c1db06f7b (patch) | |
tree | 50d4cce75520d220218ac8269874170261edc0e5 /scene/main/canvas_item.cpp | |
parent | d94de32579a7a42d4751401f7fc50d5608bf9d46 (diff) | |
parent | 43302837eb028ac0c27d0363a93e0bdb4dccde16 (diff) |
Merge pull request #44189 from madmiraal/canvasitem-hidden-signal
Rename CanvasItem's hide signal to hidden
Diffstat (limited to 'scene/main/canvas_item.cpp')
-rw-r--r-- | scene/main/canvas_item.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/main/canvas_item.cpp b/scene/main/canvas_item.cpp index 6806a55151..43350fae37 100644 --- a/scene/main/canvas_item.cpp +++ b/scene/main/canvas_item.cpp @@ -364,7 +364,7 @@ void CanvasItem::_propagate_visibility_changed(bool p_visible) { if (p_visible) { update(); //todo optimize } else { - emit_signal(SceneStringNames::get_singleton()->hide); + emit_signal(SceneStringNames::get_singleton()->hidden); } _block(); @@ -1227,7 +1227,7 @@ void CanvasItem::_bind_methods() { ADD_SIGNAL(MethodInfo("draw")); ADD_SIGNAL(MethodInfo("visibility_changed")); - ADD_SIGNAL(MethodInfo("hide")); + ADD_SIGNAL(MethodInfo("hidden")); ADD_SIGNAL(MethodInfo("item_rect_changed")); BIND_CONSTANT(NOTIFICATION_TRANSFORM_CHANGED); |