Make pots/sliders warnings not big.

Still needs a proper helper though.
This commit is contained in:
Peter Feerick
2021-09-01 11:15:50 +10:00
parent cea723c56e
commit 071ec6299f
@@ -103,11 +103,11 @@ void SwitchWarnDialog::paint(BitmapBuffer * dc)
// TODO add an helper
strncpy(s, &STR_VSRCRAW[1 + (NUM_STICKS + 1 + i) * STR_VSRCRAW[0]], STR_VSRCRAW[0]);
s[int(STR_VSRCRAW[0])] = '\0';
dc->drawText(x, y, s, COLOR_THEME_WARNING | FONT(XL));
y += 35;
dc->drawText(x, y, s, COLOR_THEME_WARNING | FONT(BOLD));
y += 15;
}
else {
dc->drawText(x, y, "...", COLOR_THEME_WARNING | FONT(XL));
dc->drawText(x, y, "...", COLOR_THEME_WARNING | FONT(BOLD));
}
}
}