diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-31 13:47:34 +0900 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-31 13:47:34 +0900 |
commit | abb43f0f1debd70bf69fde9599e1500e1c726f74 (patch) | |
tree | a294303661dd0521c03c3408247e9bdff68025e9 | |
parent | ff6e730e30a0ab398272b01ef95d1e974b7db172 (diff) | |
download | subsurface-abb43f0f1debd70bf69fde9599e1500e1c726f74.tar.gz |
Show GF for calculated ceiling above the graph
The hardcoded position we previously had would make the text invisible
if a ceiling was drawn during the middle of the dive.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/profilegraphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profilegraphics.cpp b/qt-ui/profilegraphics.cpp index fb336da72..82477b201 100644 --- a/qt-ui/profilegraphics.cpp +++ b/qt-ui/profilegraphics.cpp @@ -547,7 +547,7 @@ void ProfileGraphicsView::plot_deco_text() if (prefs.profile_calc_ceiling) { float x = gc.leftx + (gc.rightx - gc.leftx) / 2; float y = gc.topy = 1.0; - static text_render_options_t tro = {PRESSURE_TEXT_SIZE, PRESSURE_TEXT, CENTER, -0.2}; + static text_render_options_t tro = {PRESSURE_TEXT_SIZE, PRESSURE_TEXT, CENTER, BOTTOM}; gc.bottomy = 0.0; plot_text(&tro, QPointF(x, y), QString("GF %1/%2").arg(prefs.gflow).arg(prefs.gfhigh)); } |