Revert changes to Range::set_value #65101

This commit is contained in:
lawnjelly 2024-12-16 06:47:28 +00:00 committed by Relintai
parent bb59a03e06
commit 8205b42cae

View File

@ -88,7 +88,7 @@ void Range::set_value(double p_val) {
void Range::set_value_no_signal(double p_val) {
if (shared->step > 0) {
p_val = Math::round((p_val - shared->min) / shared->step) * shared->step + shared->min;
p_val = Math::round(p_val / shared->step) * shared->step;
}
if (_rounded_values) {