Parcourir la source

Merge pull request #21537 from tko/itemlist-edit-scale

Scale the Item List Editor window size with the editor scale
Rémi Verschelde il y a 7 ans
Parent
commit
d42807371c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      editor/plugins/item_list_editor_plugin.cpp

+ 1 - 1
editor/plugins/item_list_editor_plugin.cpp

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