summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/screens.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/screens.c b/apps/screens.c
index 29b6f1dd76..b5e22fded5 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -1318,13 +1318,18 @@ bool view_runtime(void)
#if defined(HAVE_LCD_BITMAP)
FOR_NB_SCREENS(i)
- screens[i].setmargins(0, 0);
+ {
+ if(global_settings.statusbar)
+ screens[i].setmargins(0, STATUSBAR_HEIGHT);
+ else
+ screens[i].setmargins(0, 0);
+ }
#endif
while(!done)
{
int y[NB_SCREENS]={0};
int t;
-
+
FOR_NB_SCREENS(i)
{
screens[i].clear_display();