fix(color): keys test page text not using theme color (#4869)
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user