width/height shadow properties

This commit is contained in:
airstruck
2015-11-03 01:08:23 -05:00
parent 997f9c8d12
commit ad9c954e7b
6 changed files with 38 additions and 22 deletions

View File

@@ -13,7 +13,7 @@ return function (self)
self:onReshape(function ()
local x1, y1, x2, y2 = self:getRectangle(true, true)
local min = bar.minimumWidth
local min = bar.minwidth
x1 = x1 + min
bar.width = self.value * (x2 - x1) + min
end)