summaryrefslogtreecommitdiff
path: root/scene/main/canvas_item.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-02-28 11:24:19 +0100
committerGitHub <noreply@github.com>2022-02-28 11:24:19 +0100
commit9b7aeaf88fb9aab0c469b21a2058f17fdd4d8732 (patch)
tree048d250b9e355658381ec32a6431dd1c02de7b48 /scene/main/canvas_item.h
parent0b7bc3fd907f3953cfebfbc8c8a0d245ac0e043c (diff)
parentdce6cb7393ae20a2513a0e98c8e55399f27a4b05 (diff)
Merge pull request #58413 from Sauermann/fix-canvas-item-visibility
Fix invisible CanvasItem visibility issue
Diffstat (limited to 'scene/main/canvas_item.h')
-rw-r--r--scene/main/canvas_item.h3
1 files changed, 2 insertions, 1 deletions
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();