Add output name on bottom status bar even when no mix line is active (#7537)

This commit is contained in:
3djc
2020-04-21 14:44:21 +02:00
committed by GitHub
parent e7f599237e
commit a1cd83598f
+2
View File
@@ -607,6 +607,8 @@ bool menuModelMixAll(event_t event)
if (!s_copyMode) {
attr = INVERS;
}
if (g_model.limitData[ch-1].name[0] != '\0')
lcdDrawSizedText(MENUS_MARGIN_LEFT, MENU_FOOTER_TOP, g_model.limitData[ch-1].name, sizeof(g_model.limitData[ch-1].name), MENU_TITLE_COLOR | LEFT | ZCHAR);
}
if (cur-menuVerticalOffset >= 0 && cur-menuVerticalOffset < NUM_BODY_LINES) {
putsChn(MENUS_MARGIN_LEFT, y, ch, attr); // show CHx