diff options
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.cpp')
-rw-r--r-- | qt-ui/profile/divecartesianaxis.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/qt-ui/profile/divecartesianaxis.cpp b/qt-ui/profile/divecartesianaxis.cpp index 85245c6e6..f2438a207 100644 --- a/qt-ui/profile/divecartesianaxis.cpp +++ b/qt-ui/profile/divecartesianaxis.cpp @@ -289,17 +289,17 @@ DepthAxis::DepthAxis() : showWithPPGraph(false) void DepthAxis::settingsChanged() { - bool ppGraph = isPPGraphEnabled(); - if ( ppGraph == showWithPPGraph){ - return; - } - - if (ppGraph) { - animateChangeLine(QLineF(0,2,0,60)); - } else { - animateChangeLine(QLineF(0,2,0,98)); - } - showWithPPGraph = ppGraph; +// bool ppGraph = isPPGraphEnabled(); +// if ( ppGraph == showWithPPGraph){ +// return; +// } +// +// if (ppGraph) { +// animateChangeLine(shrinkedLine); +// } else { +// animateChangeLine(expandedLine); +// } +// showWithPPGraph = ppGraph; } QColor TimeAxis::colorForValue(double value) |