1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-16 12:55:12 +03:00

Fixes #3156: Outputs Subtrim, Min and Max values rounding problem fixed (ported from master)

This commit is contained in:
projectkk2glider 2015-12-26 14:36:42 +01:00 committed by Damjan Adamic
parent d734e3465d
commit 117e28db16
2 changed files with 6 additions and 2 deletions

View file

@ -175,7 +175,7 @@ void GVarGroup::valuesChanged()
else if (sb)
weight = sb->value();
else
weight = dsb->value()/step;
weight = round(dsb->value()/step);
}
}