Merge pull request #81174 from BlueCube3310/tree-range-fix

Fix TreeItem range slider not working properly
This commit is contained in:
Rémi Verschelde 2023-10-02 13:16:03 +02:00
commit 0c7ac25b47
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -3142,7 +3142,7 @@ void Tree::value_editor_changed(double p_value) {
TreeItem::Cell &c = popup_edited_item->cells.write[popup_edited_item_col];
c.val = p_value;
text_editor->set_text(String::num(c.val, Math::range_step_decimals(c.step)));
line_editor->set_text(String::num(c.val, Math::range_step_decimals(c.step)));
item_edited(popup_edited_item_col, popup_edited_item);
queue_redraw();