* Highlight active inputs and mixies (#337)
This commit is contained in:
@@ -337,7 +337,7 @@ void CommonInputOrMixButton::drawFlightModes(BitmapBuffer *dc,
|
||||
void CommonInputOrMixButton::paint(BitmapBuffer * dc)
|
||||
{
|
||||
dc->drawSolidFilledRect(0, 0, width(), height(),
|
||||
/*hasFocus() ? FOCUS_BGCOLOR :*/ FIELD_BGCOLOR);
|
||||
isActive() ? HIGHLIGHT_COLOR : FIELD_BGCOLOR);
|
||||
paintBody(dc);
|
||||
|
||||
if (!hasFocus())
|
||||
@@ -397,6 +397,7 @@ class InputLineButton : public CommonInputOrMixButton
|
||||
if (line.flightModes) {
|
||||
drawFlightModes(dc, line.flightModes, textColor);
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user