awful.widget.progressbar: fix vertical gradient rendering
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
a4209dc159
commit
2cb34a30f2
|
@ -74,7 +74,7 @@ local function update(pbar)
|
|||
|
||||
local angle = 270
|
||||
if data[pbar].vertical then
|
||||
angle = 0
|
||||
angle = 180
|
||||
end
|
||||
|
||||
-- Draw full gradient
|
||||
|
|
Loading…
Reference in New Issue