Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TreeItem range slider not working properly #81174

Merged
merged 1 commit into from
Oct 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix TreeItem range slider not working
  • Loading branch information
BlueCube3310 committed Aug 30, 2023
commit c759ac0e4ff4803810157171be094b50c6c377ea
2 changes: 1 addition & 1 deletion scene/gui/tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3210,7 +3210,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