diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2020-07-15 12:13:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-15 12:13:33 +0200 |
| commit | 6497a3fb50802d2a56f5d6a586a66da0f887dc04 (patch) | |
| tree | 3cae8d4fa8f1cf255ead18aafcbb9e304f09f92e /editor/plugins/sprite_frames_editor_plugin.cpp | |
| parent | 0f369ac2c08872a80d28864c5c5cb47c81ec2c31 (diff) | |
| parent | 526e060b7320de63501680549a5b586573e27a01 (diff) | |
| download | redot-engine-6497a3fb50802d2a56f5d6a586a66da0f887dc04.tar.gz | |
Merge pull request #40291 from hinlopen/dialog-size
Resize various dialogs
Diffstat (limited to 'editor/plugins/sprite_frames_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/sprite_frames_editor_plugin.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/editor/plugins/sprite_frames_editor_plugin.cpp b/editor/plugins/sprite_frames_editor_plugin.cpp index 7102faf58a..516c14329c 100644 --- a/editor/plugins/sprite_frames_editor_plugin.cpp +++ b/editor/plugins/sprite_frames_editor_plugin.cpp @@ -48,7 +48,7 @@ void SpriteFramesEditor::_open_sprite_sheet() { file_split_sheet->add_filter("*." + extensions[i]); } - file_split_sheet->popup_centered_ratio(); + file_split_sheet->popup_file_dialog(); } void SpriteFramesEditor::_sheet_preview_draw() { @@ -298,8 +298,7 @@ void SpriteFramesEditor::_load_pressed() { } file->set_file_mode(EditorFileDialog::FILE_MODE_OPEN_FILES); - - file->popup_centered_ratio(); + file->popup_file_dialog(); } void SpriteFramesEditor::_paste_pressed() { |
