Progressbar: Fix border

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2010-10-07 13:52:32 +02:00
parent 734973c60c
commit 650b3d6df5
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ function draw(pbar, wibox, cr, width, height)
local border_width = 0
if data[pbar].border_color then
-- Draw border
cr:rectangle(0.5, 0.5, width - 0.5, height - 0.5)
cr:rectangle(0.5, 0.5, width - 1, height - 1)
cr:set_source(color(data[pbar].border_color))
cr:stroke()