subsurface/profile-widget
Joakim Bygdell dd2791fa1e Fix tankbar offset at gas switch event
When painting the tankbar the function triggers on change in cylinder index,
as a result the new gascolour are changed at the next sample time point.
On a divecomputer with a reasonable fast sample rate the 2-3s offset are hardly
noticable, especially on a longer dive.
For divecomputers with slow sample rate the 10-30s offset are clearly visible.

This is fixed by start painting the new gascolour at the time point of the switch event rather than the time point of the next sample.

Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
2017-01-21 06:07:31 -08:00
..
animationfunctions.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
animationfunctions.h
CMakeLists.txt Correctly handle SubsurfaceMobile 2016-01-08 08:04:24 -08:00
divecartesianaxis.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divecartesianaxis.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
diveeventitem.cpp Event name heuristics to show better event icons 2016-07-24 09:53:24 +09:00
diveeventitem.h Prevent gaschange tank icons from using garbage coords. 2015-12-03 22:56:23 -08:00
divelineitem.cpp
divelineitem.h
divepixmapitem.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divepixmapitem.h
diveprofileitem.cpp Prevent the heatmap form overlapping at the ends 2017-01-15 11:37:26 -08:00
diveprofileitem.h Heatmap: Color undersaturated values relative to inert gas pressure 2016-10-20 21:14:19 -07:00
diverectitem.cpp
diverectitem.h
divetextitem.cpp Silence warning 2016-04-14 09:19:01 -07:00
divetextitem.h
divetooltipitem.cpp Fix deco_mode confusion 2017-01-06 20:43:23 -08:00
divetooltipitem.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
profilewidget2.cpp Don't let the tankbar overlap the tissue heatmap 2017-01-21 06:07:31 -08:00
profilewidget2.h Now that we are building with C++11 we need override keyword 2016-06-23 16:43:05 -07:00
ruleritem.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
ruleritem.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
tankitem.cpp Fix tankbar offset at gas switch event 2017-01-21 06:07:31 -08:00
tankitem.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00