]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Move depth/time grid back
authorHenrik Brautaset Aronsen <subsurface@henrik.synth.no>
Tue, 6 Dec 2011 18:42:20 +0000 (19:42 +0100)
committerHenrik Brautaset Aronsen <subsurface@henrik.synth.no>
Tue, 6 Dec 2011 18:45:38 +0000 (19:45 +0100)
The temperature profile was behind the white depth/time grid.

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
profile.c

index b01514a574be3001aa80d3f5ee3cff96d846c614..716ce1047119f776a0269b64ce25a1eb6f4e9e68 100644 (file)
--- a/profile.c
+++ b/profile.c
@@ -1334,13 +1334,13 @@ void plot(struct graphics_context *gc, cairo_rectangle_int_t *drawing_area, stru
        gc->maxx = (drawing_area->width - 2*drawing_area->x);
        gc->maxy = (drawing_area->height - 2*drawing_area->y);
 
-       /* Temperature profile */
-       plot_temperature_profile(gc, pi);
-
        /* Depth profile */
        plot_depth_profile(gc, pi);
        plot_events(gc, pi, dive);
 
+       /* Temperature profile */
+       plot_temperature_profile(gc, pi);
+
        /* Cylinder pressure plot */
        plot_cylinder_pressure(gc, pi, dive);