Progressbar: Fix border
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
734973c60c
commit
650b3d6df5
|
@ -87,7 +87,7 @@ function draw(pbar, wibox, cr, width, height)
|
||||||
local border_width = 0
|
local border_width = 0
|
||||||
if data[pbar].border_color then
|
if data[pbar].border_color then
|
||||||
-- Draw border
|
-- 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:set_source(color(data[pbar].border_color))
|
||||||
cr:stroke()
|
cr:stroke()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue