Skip to content

Commit

Permalink
Merge pull request #852 from AntlerForce/chattabfont
Browse files Browse the repository at this point in the history
Give chat tab fonts outlines only, no shadows
  • Loading branch information
AntlerForce authored Dec 10, 2024
2 parents 79c4621 + 3f379e8 commit 480fb91
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions LuaMenu/widgets/chobby/components/chat_windows.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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},
})
Expand All @@ -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 },
Expand Down

0 comments on commit 480fb91

Please sign in to comment.