Fix two column handling (#4061)

This commit is contained in:
3djc
2016-11-21 20:09:09 +01:00
committed by Bertrand Songis
parent 4b84cd27b2
commit a6bdf58619
+1 -1
View File
@@ -60,7 +60,7 @@ class OutputsWidget: public Widget
lcdDrawRect(x + RECT_OFFSET, y + (curChan - firstChan) * row_height, RECT_WIDTH, row_height+1);
lcd->drawSolidVerticalLine(x + RECT_OFFSET + RECT_WIDTH / 2, y + (curChan - firstChan) * row_height, row_height, MAINVIEW_GRAPHICS_COLOR);
}
return lastChan;
return lastChan - 1;
}
void twoColumns()