Merge pull request #19371 from guilhermefelipecgs/fix_rect2_prop
Fix Rect2 properties typo
This commit is contained in:
commit
7488e83954
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue