mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Mobile: always show divecomputer reported ceiling in red
We do not not want to do decompress model calculations in the mobile app
(see 130f4cd7ac
), but we do want to see the divecomputer reported
ceiling (in red). The latter is fixed here.
Ticket #1006
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a4ec520601
commit
dd53411550
1 changed files with 5 additions and 0 deletions
|
@ -62,6 +62,11 @@ int main(int argc, char **argv)
|
|||
init_ui();
|
||||
loadPreferences();
|
||||
prefs.animation_speed = 0;
|
||||
|
||||
/* always show the divecomputer reported ceiling in red */
|
||||
prefs.dcceiling = 1;
|
||||
prefs.redceiling = 1;
|
||||
|
||||
init_proxy();
|
||||
if (no_filenames) {
|
||||
if (prefs.default_file_behavior == LOCAL_DEFAULT_FILE) {
|
||||
|
|
Loading…
Reference in a new issue