mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 02:11:04 +02:00
CProgressBar: use already calculated position var for diagonal line
Origin commit data
------------------
Commit: cd1a4c89a8
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-08 (Mon, 08 Apr 2013)
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