Berthold Stoeger 24cf6709e3 profile: simplify get_maxtime()
This function has accumulated quite some cruft. It seems to add
additional space to make place for certain chart features
(e.g. the average depth text item).

However, it makes no sense to solve this here, as only the
profile knows how much place is needed to display these
features.

Therefore, basically revert this to the original version,
which simply returns the maximum time for long dives
and a threshhold for short dives that depends on the
zoomed_plot setting.

The result looks more reasonable to me, as there is no
(varying!) empty space to the right of the profile.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-12-17 11:54:23 -08:00
..
2021-12-06 22:29:04 +01:00
2021-12-06 22:29:04 +01:00
2021-10-30 20:22:52 -07:00
2017-04-29 13:32:55 -07:00
2020-10-24 09:51:37 -07:00
2021-07-23 11:22:43 -07:00
2020-09-29 16:13:03 -07:00
2021-10-01 08:50:36 -07:00
2021-10-01 08:50:36 -07:00
2021-10-01 08:50:36 -07:00
2021-12-17 09:23:10 -08:00
2021-07-23 11:22:43 -07:00
2021-07-23 11:22:43 -07:00
2018-10-21 19:55:09 +03:00
2021-02-10 14:33:15 -08:00
2021-02-10 14:33:15 -08:00
2021-12-17 11:54:23 -08:00
2021-12-06 22:29:04 +01:00
2020-10-24 09:51:37 -07:00
2021-07-23 11:16:00 -07:00
2021-12-06 22:29:04 +01:00
2021-12-17 09:23:34 -08:00
2019-12-13 07:04:00 -05:00
2017-04-29 13:32:55 -07:00
2020-12-29 08:34:09 -08:00
2020-03-10 17:42:54 -07:00
2020-03-10 17:42:54 -07:00
2020-05-03 15:02:21 -07:00