瀏覽代碼

Fixes wrong minimum size of Group Editor

Takes current editor scale into account when setting the minimum size.
Haoyu Qiu 5 年之前
父節點
當前提交
bbaf212c62
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();