awful.widget.progressbar: fix vertical gradient rendering

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Evan McClain 2009-06-23 22:02:32 +02:00 committed by Julien Danjou
parent a4209dc159
commit 2cb34a30f2
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ local function update(pbar)
local angle = 270
if data[pbar].vertical then
angle = 0
angle = 180
end
-- Draw full gradient