Plain log element data

This commit is contained in:
Gabriel Tofvesson 2024-10-14 12:50:38 +02:00
parent b9ac063a35
commit 2e9eefb240

View File

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