Fixed title bar text reseting position and code cleanups

This commit is contained in:
Tercio Jose
2020-10-28 12:59:30 -03:00
parent a50a49bf0b
commit fd09d77331
5 changed files with 52 additions and 80 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
local dversion = 213
local dversion = 214
local major, minor = "DetailsFramework-1.0", dversion
local DF, oldminor = LibStub:NewLibrary (major, minor)
@@ -612,8 +612,8 @@ function DF:TruncateText (fontString, maxWidth)
end
end
function DF:Msg (msg)
print ("|cFFFFFFAA" .. (self.__name or "FW Msg:") .. "|r ", msg)
function DF:Msg (msg, ...)
print ("|cFFFFFFAA" .. (self.__name or "FW Msg:") .. "|r ", msg, ...)
end
function DF:GetNpcIdFromGuid (guid)