浏览代码

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 年之前
父节点
当前提交
2f56146242
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/plugins/item_list_editor_plugin.cpp

+ 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) {