This commit is contained in:
Paul Liverman III 2017-04-30 14:14:26 -07:00
parent a2db191adf
commit f18baa308f
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ element.__base.width = function(self, w)
return self:getWidth() return self:getWidth()
end end
end end
elements.__base.height = function(self, h) element.__base.height = function(self, h)
if h then if h then
return self:setHeight(h) return self:setHeight(h)
else else

View File

@ -28,7 +28,7 @@ element.__base.width = (w) =>
else else
return @getWidth! return @getWidth!
elements.__base.height = (h) => element.__base.height = (h) =>
if h if h
return @setHeight h return @setHeight h
else else