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