1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Fixes wrong minimum size of Group Editor

Takes current editor scale into account when setting the minimum size.
This commit is contained in:
Haoyu Qiu
2019-12-15 12:56:10 +08:00
parent ce7d3bb1c7
commit bbaf212c62

View File

@@ -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();