Don't show Lock & Group buttons for nodes hidden by CanvasLayer
(cherry picked from commit fb999ebe22
)
This commit is contained in:
parent
2ccd4fd030
commit
5514126234
1 changed files with 1 additions and 1 deletions
|
@ -3825,7 +3825,7 @@ void CanvasItemEditor::_draw_locks_and_groups(Node *p_node, const Transform2D &p
|
|||
return;
|
||||
}
|
||||
CanvasItem *canvas_item = Object::cast_to<CanvasItem>(p_node);
|
||||
if (canvas_item && !canvas_item->is_visible()) {
|
||||
if (canvas_item && !canvas_item->is_visible_in_tree()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue