mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Keep track of user requested minimum depth
When got auto-rescaling of the depth scale, always reset the depth scale to what the profile would suggest. This introduces a concept of user requested minimum witch we will update and not scale down to lower than. Reported-by: Henrik Brautaset Aronsen <henrik@synth.no> Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a145c2e61a
commit
44848d5457
2 changed files with 8 additions and 4 deletions
|
|
@ -221,7 +221,8 @@ private:
|
|||
ExpanderGraphics *depthHandler;
|
||||
ExpanderGraphics *timeHandler;
|
||||
|
||||
int minMinutes; // this holds the minimum duration of the dive.
|
||||
int minMinutes; // this holds the minimum requested window time
|
||||
int minDepth; // this holds the minimum requested window depth
|
||||
int dpMaxTime; // this is the time of the dive calculated by the deco.
|
||||
|
||||
friend class DiveHandler;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue