mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
CProgressBar: use already calculated position var for diagonal line
This commit is contained in:
@@ -146,7 +146,7 @@ void CProgressBar::paintSimple()
|
||||
}
|
||||
|
||||
if (pb_paint_zero && pb_value == 0)
|
||||
frameBuffer->paintLine(x+fr_thickness , y+fr_thickness, x+width-3, y+height-3, pb_active_col); // zero line
|
||||
frameBuffer->paintLine(pb_x , pb_y, pb_x+width-3, pb_y+height-3, pb_active_col); // zero line
|
||||
}
|
||||
|
||||
void CProgressBar::paintAdvanced()
|
||||
|
Reference in New Issue
Block a user