Skip to content

Commit

Permalink
Merge pull request #81174 from BlueCube3310/tree-range-fix
Browse files Browse the repository at this point in the history
Fix TreeItem range slider not working properly
  • Loading branch information
akien-mga committed Oct 2, 2023
2 parents 0d4fe74 + c759ac0 commit 0c7ac25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/gui/tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 0c7ac25

Please sign in to comment.