Merge pull request #9990 from GodotExplorer/pr-fix-stretch-ratio
Fix errors with stretch ratio
This commit is contained in:
commit
3a3915b726
2 changed files with 2 additions and 2 deletions
|
|
@ -3858,7 +3858,7 @@ void PropertyEditor::_item_edited() {
|
|||
break;
|
||||
|
||||
if (type == Variant::INT)
|
||||
_edit_set(name, int(item->get_range(1)), refresh_all);
|
||||
_edit_set(name, round(item->get_range(1)), refresh_all);
|
||||
else
|
||||
_edit_set(name, item->get_range(1), refresh_all);
|
||||
} break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue