Fix range slider in tree not updating text value

This commit is contained in:
MinusKube 2022-07-06 17:36:30 +02:00
parent cf19484746
commit ed68f867fb

View file

@ -2850,6 +2850,9 @@ 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)));
item_edited(popup_edited_item_col, popup_edited_item);
update();
}