moving Details.DontMoveMinimapIconOnBattlegroundError up in the scope

This commit is contained in:
Tercio Jose
2021-09-02 13:33:25 -03:00
parent ddbfed2fe5
commit a816bb146c
2 changed files with 40 additions and 32 deletions
+7 -1
View File
@@ -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