mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Always show the ascent to the initial deco stop
...even when not showing transitions, this makes the first stop look more like a stop (since it does not include several minutes of ascent). Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
4e2cada878
commit
c979d9f166
1 changed files with 2 additions and 1 deletions
|
@ -222,7 +222,8 @@ void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool show_d
|
||||||
(nextdp && dp->depth.mm != nextdp->depth.mm) ||
|
(nextdp && dp->depth.mm != nextdp->depth.mm) ||
|
||||||
(!isascent && gaschange_before && nextdp && dp->depth.mm != nextdp->depth.mm) ||
|
(!isascent && gaschange_before && nextdp && dp->depth.mm != nextdp->depth.mm) ||
|
||||||
(gaschange_after && lastentered) || (gaschange_after && !isascent) ||
|
(gaschange_after && lastentered) || (gaschange_after && !isascent) ||
|
||||||
(isascent && gaschange_after && nextdp && dp->depth.mm != nextdp->depth.mm )) {
|
(isascent && gaschange_after && nextdp && dp->depth.mm != nextdp->depth.mm ) ||
|
||||||
|
(lastentered && !dp->entered)) {
|
||||||
// Print a symbol to indicate whether segment is an ascent, descent, constant depth (user entered) or deco stop
|
// Print a symbol to indicate whether segment is an ascent, descent, constant depth (user entered) or deco stop
|
||||||
if (isascent)
|
if (isascent)
|
||||||
segmentsymbol = "➚"; // up-right arrow for ascent
|
segmentsymbol = "➚"; // up-right arrow for ascent
|
||||||
|
|
Loading…
Add table
Reference in a new issue