Scale the Item List Editor window size with the editor scale
Makes the dialog bigger and more usable on HiDPI screens. Fixes #21520
This commit is contained in:
parent
6f9416b2b6
commit
aded18104b
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue