Merge pull request #19371 from guilhermefelipecgs/fix_rect2_prop

Fix Rect2 properties typo
This commit is contained in:
George Marques 2018-06-04 22:00:38 -03:00 committed by GitHub
commit 7488e83954
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1023,8 +1023,8 @@ void EditorPropertyRect2::_value_changed(double val) {
Rect2 r2;
r2.position.x = spin[0]->get_value();
r2.position.x = spin[1]->get_value();
r2.size.y = spin[2]->get_value();
r2.position.y = spin[1]->get_value();
r2.size.x = spin[2]->get_value();
r2.size.y = spin[3]->get_value();
emit_signal("property_changed", get_edited_property(), r2);
}