alsabar: fixed 'ticks' boolean issue; wiki updated

This commit is contained in:
luke bonham 2014-01-14 10:09:57 +01:00 committed by copycat-killer
parent a71b796ac8
commit 0ef9d8c78f
2 changed files with 3 additions and 4 deletions

View File

@ -95,7 +95,7 @@ local function worker(args)
local settings = args.settings or function() end local settings = args.settings or function() end
local width = args.width or 63 local width = args.width or 63
local height = args.heigth or 1 local height = args.heigth or 1
local ticks = args.ticks or true local ticks = args.ticks or false
local ticks_size = args.ticks_size or 7 local ticks_size = args.ticks_size or 7
local vertical = args.vertical or false local vertical = args.vertical or false
@ -113,8 +113,7 @@ local function worker(args)
alsabar.bar:set_height(height) alsabar.bar:set_height(height)
alsabar.bar:set_ticks(ticks) alsabar.bar:set_ticks(ticks)
alsabar.bar:set_ticks_size(ticks_size) alsabar.bar:set_ticks_size(ticks_size)
alsabar.bar:set_vertical(vertical)
if vertical then alsabar.bar:set_vertical(true) end
function alsabar.update() function alsabar.update()
-- Get mixer control contents -- Get mixer control contents

2
wiki

@ -1 +1 @@
Subproject commit 780ce12033c8aa90c5060280cfbdfd6fddc7584f Subproject commit 41d28b93ebbeb7e51584032e88c748426ea6cd82