mirror of https://github.com/godotengine/godot
Fix SpriteFrames editor visibility problems
This commit is contained in:
parent
fe01776f05
commit
969bfeae4c
|
|
@ -2334,7 +2334,9 @@ void SpriteFramesEditorPlugin::make_visible(bool p_visible) {
|
|||
EditorNode::get_bottom_panel()->make_item_visible(frames_editor);
|
||||
} else {
|
||||
button->hide();
|
||||
frames_editor->edit(Ref<SpriteFrames>());
|
||||
if (frames_editor->is_visible_in_tree()) {
|
||||
EditorNode::get_bottom_panel()->hide_bottom_panel();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue