Fixed formatting

This commit is contained in:
eshifri
2021-06-19 11:24:18 -07:00
parent 02c4e74a3f
commit 2644fc6c9e
+4 -2
View File
@@ -89,13 +89,15 @@ void Layout2x4::paint(BitmapBuffer* dc)
fullScreen.w /= 2; fullScreen.w /= 2;
if (getOptionValue(OPTION_PANEL1_BACKGROUND)->boolValue) { if (getOptionValue(OPTION_PANEL1_BACKGROUND)->boolValue) {
lcdSetColor(getOptionValue(OPTION_PANEL1_COLOR)->unsignedValue); lcdSetColor(getOptionValue(OPTION_PANEL1_COLOR)->unsignedValue);
dc->drawSolidFilledRect(fullScreen.x, fullScreen.y, fullScreen.w, fullScreen.h, CUSTOM_COLOR); dc->drawSolidFilledRect(fullScreen.x, fullScreen.y, fullScreen.w,
fullScreen.h, CUSTOM_COLOR);
} }
if (getOptionValue(OPTION_PANEL2_BACKGROUND)->boolValue) { if (getOptionValue(OPTION_PANEL2_BACKGROUND)->boolValue) {
fullScreen.x += fullScreen.w; fullScreen.x += fullScreen.w;
lcdSetColor(getOptionValue(OPTION_PANEL2_COLOR)->unsignedValue); lcdSetColor(getOptionValue(OPTION_PANEL2_COLOR)->unsignedValue);
dc->drawSolidFilledRect(fullScreen.x, fullScreen.y, fullScreen.w, fullScreen.h, CUSTOM_COLOR); dc->drawSolidFilledRect(fullScreen.x, fullScreen.y, fullScreen.w,
fullScreen.h, CUSTOM_COLOR);
} }
Layout::paint(dc); Layout::paint(dc);
} }