core/menusystem: remove base widget self-destruct action

This commit is contained in:
Kazhnuz 2019-02-14 18:33:25 +01:00
parent 0c3f4a10f0
commit fdbeffa42d

View file

@ -23,7 +23,7 @@ end
function BaseWidget:redrawCanvas()
self.width, self.height = self.menu:getWidgetSize(self.id)
self.canvas.texture = love.graphics.newCanvas(self.width, self.height)
love.graphics.setCanvas( self.canvas.texture )
@ -68,7 +68,7 @@ function BaseWidget:update(dt)
end
function BaseWidget:action()
self:destroy()
--self:destroy()
end
function BaseWidget:destroy()