diff options
author | Tommi Komulainen <tommi.komulainen@iki.fi> | 2018-08-28 19:13:24 +0200 |
---|---|---|
committer | Tommi Komulainen <tommi.komulainen@iki.fi> | 2018-08-28 19:17:29 +0200 |
commit | aded18104b84d2d9b4e72c00eed77c983b532b1e (patch) | |
tree | c02d34c334967b88a85771c3355d985cbe2292b1 /editor/plugins | |
parent | 6f9416b2b6cff4272f69bbf0cff80f2b2c01de1b (diff) |
Scale the Item List Editor window size with the editor scale
Makes the dialog bigger and more usable on HiDPI screens.
Fixes #21520
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/item_list_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/item_list_editor_plugin.cpp b/editor/plugins/item_list_editor_plugin.cpp index f75fb0d109..1f0b4e9e97 100644 --- a/editor/plugins/item_list_editor_plugin.cpp +++ b/editor/plugins/item_list_editor_plugin.cpp @@ -296,7 +296,7 @@ void ItemListEditor::_delete_pressed() { void ItemListEditor::_edit_items() { - dialog->popup_centered(Vector2(300, 400)); + dialog->popup_centered(Vector2(300, 400) * EDSCALE); } void ItemListEditor::edit(Node *p_item_list) { |