Remove very excessive logs
This commit is contained in:
parent
33e0e54477
commit
a8652adafe
@ -32,7 +32,7 @@ function Element:new(o)
|
||||
end
|
||||
|
||||
function Element:draw()
|
||||
Logger:trace("draw", self)
|
||||
Logger:trace("draw")
|
||||
local dirty = self:_isDirty()
|
||||
if dirty then
|
||||
local win = self:_getWindow()
|
||||
@ -80,7 +80,7 @@ function Element:setY(y)
|
||||
end
|
||||
|
||||
function Element:setParent(parent)
|
||||
Logger:trace("setParent", self, parent)
|
||||
Logger:trace("setParent", self:getId(), parent, self.parent ~= parent)
|
||||
if self.parent ~= parent then
|
||||
self.parent = parent
|
||||
self:setDirty()
|
||||
@ -212,6 +212,7 @@ function Element:setOnClick(onClick)
|
||||
end
|
||||
|
||||
function Element:_reload()
|
||||
Logger:trace("_reload", self)
|
||||
if self.parent ~= nil then
|
||||
local win = window.create(self.parent, self:getX(), self:getY(), self:getWidth(), self:getHeight(), self:isVisible())
|
||||
win.setBackgroundColor(self:getBgColor())
|
||||
|
Loading…
x
Reference in New Issue
Block a user