Skip to content

Commit

Permalink
Updated Nameplates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wetxius committed Oct 3, 2013
1 parent a8dadf7 commit 4505061
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ShestakUI/Modules/Blizzard/Nameplates.lua
Expand Up @@ -177,7 +177,7 @@ local function CastTextUpdate(frame, curValue)

if UnitChannelInfo("target") then
frame.time:SetFormattedText("%.1f ", curValue)
elseif UnitCastingInfo("target") then
else
frame.time:SetFormattedText("%.1f ", maxValue - curValue)
end

Expand Down Expand Up @@ -592,11 +592,11 @@ local function ShowHealth(frame, ...)

if GetUnitName("target") and frame:GetParent():GetAlpha() == 1 then
frame.hp:SetSize((C.nameplate.width + C.nameplate.ad_width) * noscalemult, (C.nameplate.height + C.nameplate.ad_height) * noscalemult)
frame.cb:SetSize((C.nameplate.width + C.nameplate.ad_width) * noscalemult, (C.nameplate.height + C.nameplate.ad_height) * noscalemult)
frame.cb:SetPoint("BOTTOMLEFT", frame.hp, "BOTTOMLEFT", 0, -8-((C.nameplate.height + C.nameplate.ad_height) * noscalemult))
frame.cb.icon:SetSize(((C.nameplate.height + C.nameplate.ad_height) * 2) + 8, ((C.nameplate.height + C.nameplate.ad_height) * 2) + 8)
else
frame.hp:SetSize(C.nameplate.width * noscalemult, C.nameplate.height * noscalemult)
frame.cb:SetSize(C.nameplate.width * noscalemult, C.nameplate.height * noscalemult)
frame.cb:SetPoint("BOTTOMLEFT", frame.hp, "BOTTOMLEFT", 0, -8-(C.nameplate.height * noscalemult))
frame.cb.icon:SetSize((C.nameplate.height * 2) + 8, (C.nameplate.height * 2) + 8)
end
end
Expand Down

0 comments on commit 4505061

Please sign in to comment.