Skip to content

Commit

Permalink
Merge pull request #89754 from KoBeWi/bottom_feeder
Browse files Browse the repository at this point in the history
Fix SpriteFrames editor visibility problems
  • Loading branch information
akien-mga committed Apr 12, 2024
2 parents 42ab525 + 969bfea commit a95893c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion editor/plugins/sprite_frames_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
}

Expand Down

0 comments on commit a95893c

Please sign in to comment.