File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -544,9 +544,10 @@ DrawFunctionType YT_GRAPH_draw = [](const WidgetCursor &widgetCursor) {
544544 // draw cursor
545545 display::setColor (style->color );
546546 display::drawVLine (x + currentState->historyValuePosition % graphWidth, widgetCursor.y , (int )widget->h - 1 );
547+ display::drawVLine (x + (currentState->historyValuePosition + 1 ) % graphWidth, widgetCursor.y , (int )widget->h - 1 );
547548
548549 // draw blank lines
549- int x1 = x + (currentState->historyValuePosition + 1 ) % graphWidth;
550+ int x1 = x + (currentState->historyValuePosition + 2 ) % graphWidth;
550551 int x2 = x + (currentState->historyValuePosition + CONF_GUI_YT_GRAPH_BLANK_PIXELS_AFTER_CURSOR) % graphWidth;
551552
552553 display::setColor (style->background_color );
You can’t perform that action at this time.
0 commit comments