Skip to content

Commit 948750a

Browse files
committed
聊天记录的名字和链接点击的响应
1 parent 9415e06 commit 948750a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

MY_ChatLog/src/MY_ChatLog.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,9 @@ function MY_ChatLog.UpdatePage(frame)
468468
h:AppendItemFromString(MY.GetTimeLinkText({r=r, g=g, b=b, f=f, s='[yyyy/MM/dd][hh:mm:ss]'}, rec.time))
469469
local nCount = h:GetItemCount()
470470
h:AppendItemFromString(UTF8ToAnsi(rec.msg))
471+
for i = nCount, h:GetItemCount() - 1 do
472+
MY.RenderChatLink(h:Lookup(i))
473+
end
471474
if MY_Farbnamen and MY_Farbnamen.Render then
472475
for i = nCount, h:GetItemCount() - 1 do
473476
MY_Farbnamen.Render(h:Lookup(i))

0 commit comments

Comments
 (0)