Mercurial > public > ostc4
comparison Discovery/Src/motion.c @ 595:fd0b60dee6f3
Bugfix Selection of primary view:
At the begin of the dive and while switching between T7 <=> T3 view a primary view could be shown which was deactivated by the selection dialog. In case the primary view is now deactivated, the next activated view will be shown instead
author | Ideenmodellierer |
---|---|
date | Mon, 04 Jan 2021 21:32:39 +0100 |
parents | f52bc70e380f |
children | 916998f90e39 |
comparison
equal
deleted
inserted
replaced
594:280c11153080 | 595:fd0b60dee6f3 |
---|---|
238 default: centerView = sectorDetection.count / 2 - 1; | 238 default: centerView = sectorDetection.count / 2 - 1; |
239 break; | 239 break; |
240 } | 240 } |
241 if(settingsGetPointer()->design == 3) /* Big font view ? */ | 241 if(settingsGetPointer()->design == 3) /* Big font view ? */ |
242 { | 242 { |
243 sectorMap[centerView] = settingsGetPointer()->tX_customViewPrimaryBF; | 243 t3_set_customview_to_primary(); |
244 } | 244 sectorMap[centerView] = t3_change_customview(ACTION_END); |
245 else | 245 } |
246 { | 246 else |
247 sectorMap[centerView] = settingsGetPointer()->tX_customViewPrimary; | 247 { |
248 t7_set_customview_to_primary(); | |
249 sectorMap[centerView] = t7_change_customview(ACTION_END); | |
250 | |
248 } | 251 } |
249 | 252 |
250 centerView++; | 253 centerView++; |
251 while(sectorMap[centerView] == 0) | 254 while(sectorMap[centerView] == 0) |
252 { | 255 { |