Fix typo in MeterWidget

It makes slope text to disappear in the second half of the ride
This commit is contained in:
Ale Martinez
2020-11-07 18:23:39 -03:00
parent cfd456c798
commit 1345779cfc

View File

@@ -464,7 +464,7 @@ void ElevationMeterWidget::paintEvent(QPaintEvent* paintevent)
if (cyclistX < m_Width * 0.5)
gradientDrawX += 5.;
else
gradientDrawX =- 45.;
gradientDrawX -= 45.;
painter.drawText(gradientDrawX, gradientDrawY, gradientString);