Make Vector2i values paired with EDSCALE be just Vector2

This commit is contained in:
Michael Alexsander 2022-08-13 14:22:07 -03:00
parent c50febf5ef
commit c4c9e41073
17 changed files with 29 additions and 29 deletions

View file

@ -8148,7 +8148,7 @@ Node3DEditor::Node3DEditor() {
CenterContainer *sun_direction_center = memnew(CenterContainer);
sun_direction = memnew(Control);
sun_direction->set_custom_minimum_size(Size2i(128, 128) * EDSCALE);
sun_direction->set_custom_minimum_size(Size2(128, 128) * EDSCALE);
sun_direction_center->add_child(sun_direction);
sun_vb->add_margin_child(TTR("Sun Direction"), sun_direction_center);
sun_direction->connect("gui_input", callable_mp(this, &Node3DEditor::_sun_direction_input));