chat-text-shadow: add module to show text shadows

This commit is contained in:
shagu
2025-03-21 15:26:01 +01:00
parent 86d09c50d4
commit d25542b87a
2 changed files with 20 additions and 0 deletions
+1
View File
@@ -27,3 +27,4 @@ mods\macro-tweaks.lua
mods\worldmap-reveal.lua
mods\reduced-actionbar-bags.lua
mods\reduced-actionbar-micromenu.lua
mods\chat-text-shadow.lua
+19
View File
@@ -0,0 +1,19 @@
local _G = ShaguTweaks.GetGlobalEnv()
local T = ShaguTweaks.T
local rgbhex = ShaguTweaks.rgbhex
local module = ShaguTweaks:register({
title = T["Enable Text Shadow"],
description = T["Enable text shadow in all chat frames."],
expansions = { ["vanilla"] = true, ["tbc"] = false },
category = T["Chat"],
maintainer = "@shagu (GitHub)",
enabled = nil,
})
module.enable = function(self)
for i=1,NUM_CHAT_WINDOWS do
local font, size = _G["ChatFrame"..i]:GetFont()
_G["ChatFrame"..i]:SetFont(font, size, "OUTLINE")
end
end