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