ソースを参照

Merge pull request #35050 from Calinou/enlarge-item-list-editor

Increase the size of the item list editor popup
Rémi Verschelde 5 年 前
コミット
7a15569c6f
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) {