subsurface/profile-widget
Linus Torvalds e04ef1df1e Fix the overprinting of gas name and pressure value on the profile
When I massaged the code to do multiple gas pressures in commit e1b880f4
("Profile support for multiple concurrent pressure sensors") some of the
Y offsetting code got cut out as being too specific to the old
o2pressure code.

But I removed a bit too much, leaving the label (gas name) and number
(gas pressure) overlapping.

This should fix it.

If we really care about multiple gas pressure labels overlapping each
other, we'll have to revisit this code, but the old two-gas case didn't
do a very good job either (both that old code - and this new version -
can look very good in particular cases, but there are cases where it
won't work so well).

So we may need to revisit this eventually, but this gets it looking fine
for the normal cases.

Reported-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-08-07 00:57:58 -07:00
..
animationfunctions.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
animationfunctions.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
CMakeLists.txt Correctly handle SubsurfaceMobile 2016-01-08 08:04:24 -08:00
divecartesianaxis.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divecartesianaxis.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
diveeventitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
diveeventitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divelineitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divelineitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divepixmapitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divepixmapitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
diveprofileitem.cpp Fix the overprinting of gas name and pressure value on the profile 2017-08-07 00:57:58 -07:00
diveprofileitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
diverectitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
diverectitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetextitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetextitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetooltipitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetooltipitem.h code cleanup: remove unimplemented classes and structs 2017-06-16 05:31:41 +09:00
profilewidget2.cpp Profile support for multiple concurrent pressure sensors 2017-07-27 14:45:58 -07:00
profilewidget2.h code cleanup: remove unimplemented classes and structs 2017-06-16 05:31:41 +09:00
ruleritem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
ruleritem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
tankitem.cpp Profile support for multiple concurrent pressure sensors 2017-07-27 14:45:58 -07:00
tankitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00