Skip to content

Commit 1adfd9a

Browse files
committed
let chat editbox inherit the outline from chat outline settings
1 parent afd22a2 commit 1adfd9a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ElvUI/Core/Modules/Chat/Chat.lua

+4-4
Original file line numberDiff line numberDiff line change
@@ -765,15 +765,15 @@ function CH:UpdateEditboxFont(chatFrame)
765765
end
766766

767767
local id = chatFrame:GetID()
768-
local font = LSM:Fetch('font', CH.db.font)
768+
local font, outline = LSM:Fetch('font', CH.db.font), CH.db.fontOutline
769769
local _, fontSize = _G.FCF_GetChatWindowInfo(id)
770770

771771
local editbox = _G.ChatEdit_ChooseBoxForSend(chatFrame)
772-
editbox:FontTemplate(font, fontSize, 'SHADOW')
773-
editbox.header:FontTemplate(font, fontSize, 'SHADOW')
772+
editbox:FontTemplate(font, fontSize, outline)
773+
editbox.header:FontTemplate(font, fontSize, outline)
774774

775775
if editbox.characterCount then
776-
editbox.characterCount:FontTemplate(font, fontSize, 'SHADOW')
776+
editbox.characterCount:FontTemplate(font, fontSize, outline)
777777
end
778778

779779
-- the header and text will not update the placement without focus

0 commit comments

Comments
 (0)