You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
New API for visibility in both CanvasItem and Spatial
visible (property) - access set_visible(bool) is_visible() is_visible_in_tree() - true when visible and parents visible show() hide() - for convenience
This commit is contained in:
@@ -722,7 +722,7 @@ void SceneTreeDock::_node_selected() {
|
||||
return;
|
||||
}
|
||||
|
||||
if (ScriptEditor::get_singleton()->is_visible()) {
|
||||
if (ScriptEditor::get_singleton()->is_visible_in_tree()) {
|
||||
restore_script_editor_on_drag=true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user