Simplify logging more

This commit is contained in:
Gabriel Tofvesson 2024-10-14 11:35:33 +02:00
parent a8652adafe
commit f5ea075a37

View File

@ -212,7 +212,7 @@ function Element:setOnClick(onClick)
end
function Element:_reload()
Logger:trace("_reload", self)
Logger:trace("_reload", self:getId(), self:getX(), self:getY(), self:getWidth(), self:getHeight(), self:isVisible(), {bg=self:getBgColor(), fg=self:getFgColor()})
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())