Skip to content

Commit

Permalink
pfUI обновлен
Browse files Browse the repository at this point in the history
  • Loading branch information
KasVital committed Nov 10, 2017
1 parent 2c9ec19 commit a622cbb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions pfUI/api/unitframes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -882,14 +882,14 @@ function pfUI.uf:RefreshUnit(unit, component)
break
end
end

-- add icons for every found buff
for pos, icon in pairs(active) do
pfUI.uf:AddIcon(unit, pos, icon)
end
end
end

-- add icons for every found buff
for pos, icon in pairs(active) do
pfUI.uf:AddIcon(unit, pos, icon)
end

-- hide unued icon slots
for pos=table.getn(active)+1, 6 do
pfUI.uf:HideIcon(unit, pos)
Expand Down
2 changes: 1 addition & 1 deletion pfUI/modules/chat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ pfUI:RegisterModule("chat", function ()
if C.chat.global.whispermod == "1" then
-- patch incoming whisper string to match the colors
if string.find(text, '|cff'..wcol, 1) == 1 then
text = string.gsub(text, "|r", "|cff" .. wcol)
text = string.gsub(text, "|r", "|r|cff" .. wcol)
end
end

Expand Down

0 comments on commit a622cbb

Please sign in to comment.