diff options
Diffstat (limited to 'apps/gui/gwps.c')
-rw-r--r-- | apps/gui/gwps.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c index 0b41f88cdc..64b8939ee9 100644 --- a/apps/gui/gwps.c +++ b/apps/gui/gwps.c | |||
@@ -937,7 +937,14 @@ static void statusbar_toggle_handler(void *data) | |||
937 | } | 937 | } |
938 | else | 938 | else |
939 | { | 939 | { |
940 | vp->y = STATUSBAR_HEIGHT; | 940 | bool bar_at_top = true; |
941 | #ifdef HAVE_REMOTE_LCD | ||
942 | if (i == SCREEN_REMOTE) | ||
943 | bar_at_top = global_settings.remote_statusbar != STATUSBAR_BOTTOM; | ||
944 | else | ||
945 | #endif | ||
946 | bar_at_top = global_settings.statusbar != STATUSBAR_BOTTOM; | ||
947 | vp->y = bar_at_top?STATUSBAR_HEIGHT:0; | ||
941 | vp->height = screens[i].lcdheight - STATUSBAR_HEIGHT; | 948 | vp->height = screens[i].lcdheight - STATUSBAR_HEIGHT; |
942 | } | 949 | } |
943 | } | 950 | } |