fix outputs widget vertical line drawing
This commit is contained in:
committed by
Raphael Coeffic
parent
865ba72ed0
commit
108dbc747b
@@ -81,7 +81,7 @@ class OutputsWidget : public Widget
|
|||||||
if (fillW)
|
if (fillW)
|
||||||
dc->drawSolidFilledRect((chanVal > 0 ? barMid : barMid - fillW), barTop,
|
dc->drawSolidFilledRect((chanVal > 0 ? barMid : barMid - fillW), barTop,
|
||||||
fillW, barH, barColor);
|
fillW, barH, barColor);
|
||||||
lcd->drawSolidVerticalLine(barMid, barTop, barH, COLOR_THEME_SECONDARY1);
|
dc->drawVerticalLine(barMid, barTop, barH, SOLID, COLOR_THEME_SECONDARY1);
|
||||||
dc->drawRect(x, rowTop, w, rowH + 1);
|
dc->drawRect(x, rowTop, w, rowH + 1);
|
||||||
dc->drawNumber(x + barW - 10, barTop, chanVal,
|
dc->drawNumber(x + barW - 10, barTop, chanVal,
|
||||||
FONT(XS) | txtColor | RIGHT, 0, nullptr, "%");
|
FONT(XS) | txtColor | RIGHT, 0, nullptr, "%");
|
||||||
|
|||||||
Reference in New Issue
Block a user