fix(color): keys test page text not using theme color (#4869)

This commit is contained in:
philmoz
2024-04-10 11:11:51 +10:00
committed by GitHub
parent fb45009fd4
commit eb472dd80a
+4 -2
View File
@@ -62,6 +62,7 @@ class RadioKeyDiagsWindow : public Window
if (keysGetMaxKeys() > 0) { if (keysGetMaxKeys() > 0) {
form = new Window(parent, rect_t{x, 6, colWidth, colHeight}); form = new Window(parent, rect_t{x, 6, colWidth, colHeight});
etx_txt_color(form->getLvObj(), COLOR_THEME_PRIMARY1_INDEX);
addKeys(form); addKeys(form);
x += colWidth + 6; x += colWidth + 6;
} else { } else {
@@ -69,11 +70,12 @@ class RadioKeyDiagsWindow : public Window
} }
form = new Window(parent, rect_t{x, 6, colWidth, colHeight}); form = new Window(parent, rect_t{x, 6, colWidth, colHeight});
etx_txt_color(form->getLvObj(), COLOR_THEME_PRIMARY1_INDEX);
addSwitches(form); addSwitches(form);
x += colWidth + 6; x += colWidth + 6;
form = form = new Window(parent, rect_t{x, 6, colWidth, colHeight});
new Window(parent, rect_t{x, 6, colWidth, colHeight}); etx_txt_color(form->getLvObj(), COLOR_THEME_PRIMARY1_INDEX);
addTrims(form); addTrims(form);
} }