diff options
| author | Juan Linietsky | 2015-04-08 20:34:06 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-04-08 20:34:06 -0300 |
| commit | dd12bd406e0c0b0c18047dcaf6a9e5bac95f1ee6 (patch) | |
| tree | 768cdd9944fd63e859019203f3c6edd4ba33efc6 /tools/editor/plugins/polygon_2d_editor_plugin.cpp | |
| parent | e18c6ef63bb57290b023fde01391f8bdcdfe5aed (diff) | |
| parent | 59692d9012a320014366d3dcecac645a64a4d5f2 (diff) | |
| download | godot-dd12bd406e0c0b0c18047dcaf6a9e5bac95f1ee6.tar.gz godot-dd12bd406e0c0b0c18047dcaf6a9e5bac95f1ee6.tar.zst godot-dd12bd406e0c0b0c18047dcaf6a9e5bac95f1ee6.zip | |
Merge pull request #1654 from TheHX/fix_editor_dialog
Changed popup_centered by popup_centered_minsize in editor dialogs
Diffstat (limited to 'tools/editor/plugins/polygon_2d_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/polygon_2d_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/polygon_2d_editor_plugin.cpp b/tools/editor/plugins/polygon_2d_editor_plugin.cpp index 3858bf2c6..d4b307f66 100644 --- a/tools/editor/plugins/polygon_2d_editor_plugin.cpp +++ b/tools/editor/plugins/polygon_2d_editor_plugin.cpp @@ -90,7 +90,7 @@ void Polygon2DEditor::_menu_option(int p_option) { if (node->get_texture().is_null()) { error->set_text("No texture in this polygon.\nSet a texture to be able to edit UV."); - error->popup_centered_minsize(Size2(300,70)); + error->popup_centered_minsize(); return; } |
