summaryrefslogtreecommitdiffstats
path: root/profile-widget/animationfunctions.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2016-05-31 11:56:35 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-06-01 13:08:45 -0700
commit36a3f649c5896b660ba3640a30b4ffc56d6ad679 (patch)
tree02d9c704d4af896be5dd76ba11ae645d0c153bf5 /profile-widget/animationfunctions.h
parent5ea16c0bab2ab1e1d674078a2db2794f4325f156 (diff)
downloadsubsurface-36a3f649c5896b660ba3640a30b4ffc56d6ad679.tar.gz
Don't show surface events at the beginning or end of the dive
That's just annoying and pointless. So we arbitrarily say that surface events within the first and last 30s of the dive are suppressed. But we now do show them in the middle, in case the sampling rate is too low, and the profile itself doesn't show that we got to the surface. These heuristics still needs tweaking - if the profile already shows that we're at the surface, then we should probably suppress the event triangle. But in the meantime this at least gets rid of the truly pointless cases. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget/animationfunctions.h')
0 files changed, 0 insertions, 0 deletions