aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/sprite_frames_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2015-04-09 00:31:07 -0300
committerJuan Linietsky2015-04-09 00:31:07 -0300
commitb967bb73c265904005957cb02148ccc7d53e6d8f (patch)
treeea501bdd391825986fcf09d163446d4de95f5701 /tools/editor/plugins/sprite_frames_editor_plugin.cpp
parentd148a0384821a05f8714099cf00e1b521643a2ad (diff)
parentdd12bd406e0c0b0c18047dcaf6a9e5bac95f1ee6 (diff)
downloadgodot-b967bb73c265904005957cb02148ccc7d53e6d8f.tar.gz
godot-b967bb73c265904005957cb02148ccc7d53e6d8f.tar.zst
godot-b967bb73c265904005957cb02148ccc7d53e6d8f.zip
Merge branch 'master' of https://github.com/okamstudio/godot
Diffstat (limited to 'tools/editor/plugins/sprite_frames_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/sprite_frames_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/plugins/sprite_frames_editor_plugin.cpp b/tools/editor/plugins/sprite_frames_editor_plugin.cpp
index 9a9e8ee61..e49999e71 100644
--- a/tools/editor/plugins/sprite_frames_editor_plugin.cpp
+++ b/tools/editor/plugins/sprite_frames_editor_plugin.cpp
@@ -76,7 +76,7 @@ void SpriteFramesEditor::_file_load_request(const DVector<String>& p_path) {
dialog->set_title("Error!");
//dialog->get_cancel()->set_text("Close");
dialog->get_ok()->set_text("Close");
- dialog->popup_centered(Size2(300,60));
+ dialog->popup_centered_minsize();
return; ///beh should show an error i guess
}
@@ -188,7 +188,7 @@ void SpriteFramesEditor::_paste_pressed() {
dialog->set_title("Error!");
//dialog->get_cancel()->set_text("Close");
dialog->get_ok()->set_text("Close");
- dialog->popup_centered(Size2(300,60));
+ dialog->popup_centered_minsize();
return; ///beh should show an error i guess
}