From 3f379e8d37f162bfc517a41daf2460306bf9ec38 Mon Sep 17 00:00:00 2001 From: Moose <124457076+AntlerForce@users.noreply.github.com> Date: Tue, 10 Dec 2024 13:17:24 -0700 Subject: [PATCH] Give chat tab fonts outlines only, no shadows FIXME: This should be done without individual font manipulations if possible. --- LuaMenu/widgets/chobby/components/chat_windows.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/LuaMenu/widgets/chobby/components/chat_windows.lua b/LuaMenu/widgets/chobby/components/chat_windows.lua index 4060e1fa2..73a00736a 100644 --- a/LuaMenu/widgets/chobby/components/chat_windows.lua +++ b/LuaMenu/widgets/chobby/components/chat_windows.lua @@ -537,21 +537,21 @@ function ChatWindows:SetTabActivation(tabName, activationLevel, outlineColor) if (ctrl.activationLevel or 0) > activationLevel then return end - ctrl.font = Configuration:GetFont(8, "chat_badge_" .. activationLevel, { + ctrl.font = Configuration:GetFont(1, "chat_badge_" .. activationLevel, { outline = true, outlineColor = outlineColor, color = outlineColor, }) if ctrl._badge then - ctrl._badge.font = Configuration:GetFont(8, "chat_badge_" .. activationLevel, { + ctrl._badge.font = Configuration:GetFont(1, "chat_badge_" .. activationLevel, { outline = true, outlineColor = outlineColor, color = outlineColor, }) end else - ctrl.font = Configuration:GetFont(8, "chat_badge_white", { - outline = false, + ctrl.font = Configuration:GetFont(1, "chat_badge_white", { + outline = true, outlineColor = {0,0,0,1}, color = {1,1,1,1}, }) @@ -575,7 +575,7 @@ function ChatWindows:SetTabBadge(tabName, text) width = 14, height = 12, caption = text, - objectOverrideFont = WG.Chobby.Configuration:GetFont(8, "chat_badge_black", { + objectOverrideFont = WG.Chobby.Configuration:GetFont(1, "chat_badge_black", { outline = true, autoOutlineColor = false, outlineColor = { 0, 0, 0, 0.6 },