Skip to content
Snippets Groups Projects
Commit eb62238a authored by dg's avatar dg
Browse files

Scrolling the chatlog will remove fading

git-svn-id: http://svn.net-core.org/repos/t-engine4@4800 51575b47-30f0-44d4-a5cc-537603b46e54
parent 3f734223
No related branches found
No related tags found
No related merge requests found
......@@ -534,4 +534,10 @@ function _M:scrollUp(i)
if self.scroll > #log - 1 then self.scroll = #log - 1 end
if self.scroll < 0 then self.scroll = 0 end
self.changed = true
-- Reset fade
local time = core.game.getTime()
for _, item in ipairs(log) do
item.timestamp = time
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment