mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 08:59:55 +00:00
Hide tooltip in CPPlot
.. when not hovering over a curve, this worked ok for power but not for anything else. Because the signal was ignored when not showing power in pointHover.
This commit is contained in:
@@ -1256,7 +1256,8 @@ CPPlot::setRide(RideItem *rideItem)
|
||||
void
|
||||
CPPlot::pointHover(QwtPlotCurve *curve, int index)
|
||||
{
|
||||
if (showBest && curve == modelCurve) return; // ignore model curve hover
|
||||
if (criticalSeries == CriticalPowerWindow::watts && showBest && curve == modelCurve)
|
||||
return; // ignore model curve hover
|
||||
|
||||
if (index >= 0) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user