diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-07-17 08:03:52 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-17 08:06:15 -0700 |
commit | 24472a3b232f49765fd5e5455a3c8c8fd4a7bac3 (patch) | |
tree | 10e0a4fdb35a94a4d0115f80f08598428c71cda8 /packaging | |
parent | 13b8680b0ce2412608488fa4ee49f2bba0cd60d8 (diff) | |
download | subsurface-24472a3b232f49765fd5e5455a3c8c8fd4a7bac3.tar.gz |
Planner: correctly deal with units in Ascent/descent rates
This adds two changes
a) it uses rint() to make sure we don't truncate the displayed values
b) it moves the update of the displayed values into a helper function that
is also called whenever the settings change
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
0 files changed, 0 insertions, 0 deletions