From dce6cb7393ae20a2513a0e98c8e55399f27a4b05 Mon Sep 17 00:00:00 2001 From: Markus Sauermann <6299227+Sauermann@users.noreply.github.com> Date: Tue, 22 Feb 2022 01:13:32 +0100 Subject: Fix invisible CanvasItem visibility issue --- scene/main/canvas_item.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scene/main/canvas_item.h') diff --git a/scene/main/canvas_item.h b/scene/main/canvas_item.h index c0558b6be2..1b2c188fc0 100644 --- a/scene/main/canvas_item.h +++ b/scene/main/canvas_item.h @@ -108,7 +108,8 @@ private: void _top_level_raise_self(); - void _propagate_visibility_changed(bool p_visible, bool p_is_source = false); + void _propagate_visibility_changed(bool p_parent_visible_in_tree); + void _handle_visibility_change(bool p_visible); void _update_callback(); -- cgit v1.2.3