Skip to content

Commit

Permalink
Fix nameplate name color
Browse files Browse the repository at this point in the history
  • Loading branch information
Witnesscm committed Feb 6, 2021
1 parent bf82b06 commit 4b9d56f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Core/Changelog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ local _, ns = ...
local B, C, L, DB, P = unpack(ns)

P.Changelog = [[
v1.3.3
[单位框体] 修复姓名版字体颜色错误
v1.3.2
[单位框体] 修复白色姓名文本和职责图标在团队框体未生效的问题
Expand Down
4 changes: 1 addition & 3 deletions Modules/UnitFrames/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ function UF:SetTag(frame)
frame:Tag(name, "[fulllevel] "..colorStr.."[name][afkdnd]")
elseif mystyle == "focus" then
frame:Tag(name, colorStr.."[name][afkdnd]")
elseif mystyle == "nameplate" then
frame:Tag(name, "[nplevel][name]")
elseif mystyle == "arena" then
frame:Tag(name, "[arenaspec] "..colorStr.."[name]")
elseif mystyle == "raid" and C.db["UFs"]["SimpleMode"] and C.db["UFs"]["ShowTeamIndex"] and not frame.isPartyPet and not frame.isPartyFrame then
frame:Tag(name, "[group]."..colorStr.."[name]")
else
elseif mystyle ~= "nameplate" then
frame:Tag(name, colorStr.."[name]")
end
name:UpdateTag()
Expand Down

0 comments on commit 4b9d56f

Please sign in to comment.