]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Improve tank pressure sac coloring
authorDirk Hohndel <dirk@hohndel.org>
Sat, 19 Nov 2011 19:39:35 +0000 (14:39 -0500)
committerDirk Hohndel <dirk@hohndel.org>
Sat, 19 Nov 2011 20:12:29 +0000 (15:12 -0500)
This changes the algorithm that picks the sac color to consider
+/- 1 l/min to be the same color (before the color changed every
time you crossed above or below the average which looked silly with
our synthetic "constant sac" values as those are discrete and oscilate
around the average.

This also changes the order in which things are drawn so so that the
pressure plot goes over the depth profile plot (so the red shading of the
dive no longer changes the color of the tank pressure plot).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>

No differences found