Browse Source

Fixes wrong minimum size of Group Editor

Takes current editor scale into account when setting the minimum size.
Haoyu Qiu 5 years ago
parent
commit
bbaf212c62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/groups_editor.cpp

+ 1 - 1
editor/groups_editor.cpp

@@ -404,7 +404,7 @@ void GroupDialog::_bind_methods() {
 }
 
 GroupDialog::GroupDialog() {
-	set_custom_minimum_size(Size2(600, 400));
+	set_custom_minimum_size(Size2(600, 400) * EDSCALE);
 
 	scene_tree = SceneTree::get_singleton();