mirror of
https://github.com/tiennm99/godot.git
synced 2026-07-01 03:04:28 +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:
@@ -941,7 +941,7 @@ void SpriteFramesEditorPlugin::make_visible(bool p_visible) {
|
||||
} else {
|
||||
|
||||
button->hide();
|
||||
if (frames_editor->is_visible())
|
||||
if (frames_editor->is_visible_in_tree())
|
||||
editor->hide_bottom_panel();
|
||||
|
||||
// frames_editor->set_process(false);
|
||||
|
||||
Reference in New Issue
Block a user