Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Nameplates: Remove unneeded code.

  • Loading branch information...
commit 784b850ab1ae261509ec1b548a8e1c9abac3458c 1 parent 09f529e
Haleth authored
Showing with 1 addition and 10 deletions.
  1. +1 −10 FreeUI/scripts/nameplates.lua
View
11 FreeUI/scripts/nameplates.lua
@@ -52,15 +52,6 @@ local CreateBG = function(parent, offset)
return bg
end
-local CreateLine = function(parent, offset, w, h, p1, x1, y1, p2, x2, y2)
- local line = parent:CreateTexture(nil, layer or "BACKGROUND")
- line:SetSize(w, h)
- line:SetTexture(0, 0, 0)
- line:SetPoint(p1, x1, y1)
- line:SetPoint(p2, x2, y2)
- return line
-end
-
local ThreatUpdate = function(self, elapsed)
self.elapsed = self.elapsed + elapsed
if self.elapsed >= tfreq then
@@ -239,7 +230,7 @@ local StyleFrame = function(frame)
frame.elapsed = 0
frame:SetScript("OnUpdate", ThreatUpdate)
- local offset = UIParent:GetScale() / healthBar:GetEffectiveScale()
+ local offset = UIParent:GetScale()
CreateBD(healthBar, offset)
CreateBD(castBar, offset)
Please sign in to comment.
Something went wrong with that request. Please try again.