Skip to content

Commit

Permalink
Color SUI text in bug handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Wutname1 committed Nov 12, 2024
1 parent c8080eb commit 9ec80dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Core/Handlers/Bugs/BugWindow.lua
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function addon.BugWindow.Create()

local title = window:CreateFontString(nil, 'OVERLAY', 'GameFontNormalLarge')
title:SetPoint('TOPLEFT', 32, -27)
title:SetText(L['SpartanUI Error Display'])
title:SetText(L['|cffffffffSpartan|cffe21f1fUI|r Error Display'])

countLabel = window:CreateFontString(nil, 'OVERLAY', 'GameFontNormal')
countLabel:SetPoint('TOPRIGHT', -15, -27)
Expand Down
2 changes: 1 addition & 1 deletion Core/Handlers/Bugs/Main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ local function InitializeMinimapButton()
GameTooltip:AddLine('You have no bugs, yay!')
end
else
GameTooltip:AddLine('SpartanUI error handler')
GameTooltip:AddLine('|cffffffffSpartan|cffe21f1fUI|r error handler')
local line = '%d. %s (x%d)'
for i, err in next, errorsCurrent do
GameTooltip:AddLine(line:format(i, addon.ErrorHandler:ColorText(err.message), err.counter), 0.5, 0.5, 0.5)
Expand Down

0 comments on commit 9ec80dd

Please sign in to comment.