Merge pull request #101335 from Rocka06/spriteframes-duplicate-line

Fix frame list icon mode is set two times
This commit is contained in:
Rémi Verschelde 2025-01-09 13:51:20 +01:00
commit 0e3a5eda86

View file

@ -2130,7 +2130,6 @@ SpriteFramesEditor::SpriteFramesEditor() {
frame_list->set_select_mode(ItemList::SELECT_MULTI);
frame_list->set_max_columns(0);
frame_list->set_icon_mode(ItemList::ICON_MODE_TOP);
frame_list->set_max_text_lines(2);
SET_DRAG_FORWARDING_GCD(frame_list, SpriteFramesEditor);
frame_list->connect(SceneStringName(gui_input), callable_mp(this, &SpriteFramesEditor::_frame_list_gui_input));