2
0
Эх сурвалжийг харах

Increase the size of the item list editor popup

This makes it easier to edit large amounts of items.

This partially addresses
https://github.com/godotengine/godot-proposals/issues/368.
Hugo Locurcio 5 жил өмнө
parent
commit
2f56146242

+ 1 - 1
editor/plugins/item_list_editor_plugin.cpp

@@ -302,7 +302,7 @@ void ItemListEditor::_delete_pressed() {
 
 void ItemListEditor::_edit_items() {
 
-	dialog->popup_centered(Vector2(300, 400) * EDSCALE);
+	dialog->popup_centered_clamped(Vector2(425, 1200) * EDSCALE, 0.8);
 }
 
 void ItemListEditor::edit(Node *p_item_list) {