minor cleanup

This commit is contained in:
airstruck
2015-10-28 11:20:40 -04:00
parent 0759d36702
commit 0d8a01b405
2 changed files with 6 additions and 2 deletions

View File

@@ -41,10 +41,14 @@ return function (config)
slider = { slider = {
slices = RESOURCE .. 'button_pressed.png', slices = RESOURCE .. 'button_pressed.png',
padding = 0, padding = 0,
minimumWidth = 24,
minimumHeight = 24
}, },
progress = { progress = {
slices = RESOURCE .. 'button_pressed.png', slices = RESOURCE .. 'button_pressed.png',
padding = 0, padding = 0,
minimumWidth = 24,
minimumHeight = 24
}, },
progressInner = { progressInner = {
slices = RESOURCE .. 'progress.png', slices = RESOURCE .. 'progress.png',

View File

@@ -1,7 +1,7 @@
return function (self) return function (self)
self.value = 0.5 self.value = 0
self.flow = 'x' -- TODO: support vertical slider self.flow = 'x' -- TODO: support vertical progress?
local bar = self:addChild { local bar = self:addChild {
type = 'progressInner', type = 'progressInner',