Made core.log/error store call location instead of view

This commit is contained in:
rxi
2020-04-22 00:02:35 +01:00
parent 59881f81a6
commit 9a32a00c73
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ function LogView:draw()
x = x + style.padding.x
local subx = x
x = renderer.draw_text(style.font, item.text, x, y, style.text)
x = renderer.draw_text(style.font, " in " .. item.view, x, y, style.dim)
x = renderer.draw_text(style.font, " at " .. item.at, x, y, style.dim)
y = y + th
if item.info then
for line in item.info:gmatch("[^\n]+") do