fix(sim): wrong background color for B&W simulator (#6473)
This commit is contained in:
@@ -43,7 +43,7 @@ SimulatedUIWidgetGeneric::SimulatedUIWidgetGeneric(SimulatorInterface *simulator
|
||||
m_backlightColors << QColor(247, 242, 159); // yellow
|
||||
}
|
||||
else
|
||||
m_backlightColors << QColor(47, 123, 227);
|
||||
m_backlightColors << QColor(198, 208, 199);
|
||||
|
||||
if (Boards::getCapability(board, Board::LcdOLED)) {
|
||||
ui->lcd->setBgDefaultColor(QColor(0, 0, 0)); // black
|
||||
|
||||
@@ -47,7 +47,7 @@ class LcdWidget : public QWidget
|
||||
QWidget(parent),
|
||||
localBuf(NULL),
|
||||
lightEnable(false),
|
||||
bgDefaultColor(QColor(198, 208, 199)),
|
||||
bgDefaultColor(QColor(148, 156, 149)),
|
||||
fgDefaultColor(QColor(0, 0, 0))
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user