moving Details.DontMoveMinimapIconOnBattlegroundError up in the scope
This commit is contained in:
+7
-1
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
local dversion = 269
|
||||
local dversion = 270
|
||||
local major, minor = "DetailsFramework-1.0", dversion
|
||||
local DF, oldminor = LibStub:NewLibrary (major, minor)
|
||||
|
||||
@@ -612,6 +612,12 @@ function DF:AddClassColorToText (text, class)
|
||||
return text
|
||||
end
|
||||
|
||||
function DF:GetClassTCoordsAndTexture(class)
|
||||
local l, r, t, b = unpack(CLASS_ICON_TCOORDS[class])
|
||||
return l, r, t, b, [[Interface\WORLDSTATEFRAME\Icons-Classes]]
|
||||
--return l, r, t, b, "Interface\\TargetingFrame\\UI-Classes-Circles"
|
||||
end
|
||||
|
||||
function DF:AddClassIconToText(text, playerName, class, useSpec, iconSize)
|
||||
local size = iconSize or 16
|
||||
|
||||
|
||||
Reference in New Issue
Block a user