mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Always cache parent visibility in CanvasItem
(cherry picked from commit fd6a743823)
This commit is contained in:
parent
8c372f4109
commit
df5df11916
1 changed files with 1 additions and 3 deletions
|
|
@ -341,9 +341,7 @@ void CanvasItem::_notification(int p_what) {
|
|||
}
|
||||
|
||||
void CanvasItem::_window_visibility_changed() {
|
||||
if (visible) {
|
||||
_propagate_visibility_changed(window->is_visible());
|
||||
}
|
||||
_propagate_visibility_changed(window->is_visible());
|
||||
}
|
||||
|
||||
void CanvasItem::queue_redraw() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue