1
0
Fork 0

KLN89: Fix a tiny UI bug - don't draw the indicator bar on the DTO page

This commit is contained in:
Dave Luff 2010-12-08 19:03:54 +00:00
parent 9eca656a98
commit d450900e0b

View file

@ -357,11 +357,11 @@ void KLN89::update(double dt) {
}
}
// Draw the indicator that shows which page we are on.
if(_curPage == 6 && _activePage->GetSubPage() == 3) {
// Don't draw the bar on the nav-4 page
} else if(_activePage == _nrst_page) {
// Don't draw the bar on the nearest page
} else {
} else if((_activePage != _nrst_page) && (_activePage != _dir_page) && (!_dispMsg)) {
// Don't draw the bar on the NRST, DTO or MSG pages
DrawBar(_curPage);
}