Merge pull request #89754 from KoBeWi/bottom_feeder
Fix SpriteFrames editor visibility problems
This commit is contained in:
commit
a95893caef
1 changed files with 3 additions and 1 deletions
|
@ -2334,7 +2334,9 @@ void SpriteFramesEditorPlugin::make_visible(bool p_visible) {
|
||||||
EditorNode::get_bottom_panel()->make_item_visible(frames_editor);
|
EditorNode::get_bottom_panel()->make_item_visible(frames_editor);
|
||||||
} else {
|
} else {
|
||||||
button->hide();
|
button->hide();
|
||||||
frames_editor->edit(Ref<SpriteFrames>());
|
if (frames_editor->is_visible_in_tree()) {
|
||||||
|
EditorNode::get_bottom_panel()->hide_bottom_panel();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue