Change from PRIMARY2 to PRIMARY1
This commit is contained in:
@@ -38,9 +38,9 @@ class DebugInfoNumber : public Window
|
|||||||
{
|
{
|
||||||
coord_t prefixSize = 0;
|
coord_t prefixSize = 0;
|
||||||
if (prefix != nullptr) {
|
if (prefix != nullptr) {
|
||||||
prefixSize = getTextWidth(prefix, 0, COLOR_THEME_PRIMARY2 | FONT(XS));
|
prefixSize = getTextWidth(prefix, 0, COLOR_THEME_PRIMARY1 | FONT(XS));
|
||||||
new StaticText(this, {0, 0, prefixSize, rect.h}, prefix, 0,
|
new StaticText(this, {0, 0, prefixSize, rect.h}, prefix, 0,
|
||||||
COLOR_THEME_PRIMARY2 | FONT(XS));
|
COLOR_THEME_PRIMARY1 | FONT(XS));
|
||||||
}
|
}
|
||||||
new DynamicNumber<uint32_t>(this,
|
new DynamicNumber<uint32_t>(this,
|
||||||
{prefixSize, 0, rect.w - prefixSize, rect.h},
|
{prefixSize, 0, rect.w - prefixSize, rect.h},
|
||||||
|
|||||||
Reference in New Issue
Block a user