Call parent MT of Text
This commit is contained in:
parent
b5fd24740b
commit
a0a7c96093
@ -10,7 +10,7 @@ function TextProgress:setProgress(progress)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function TextProgress:draw()
|
function TextProgress:draw()
|
||||||
getmetatable(getmetatable(self)).draw(self)
|
getmetatable(getmetatable(getmetatable(self))).draw(self)
|
||||||
local text = self:getText()
|
local text = self:getText()
|
||||||
if #text == 0 then
|
if #text == 0 then
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user