You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +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:
@@ -95,7 +95,7 @@ void StyleBoxEditorPlugin::make_visible(bool p_visible){
|
||||
EditorNode::get_singleton()->make_bottom_panel_item_visible(stylebox_editor);
|
||||
|
||||
} else {
|
||||
if (stylebox_editor->is_visible())
|
||||
if (stylebox_editor->is_visible_in_tree())
|
||||
EditorNode::get_singleton()->hide_bottom_panel();
|
||||
button->hide();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user