api: allow custom transparency

This commit is contained in:
shagu
2017-01-23 17:08:37 +01:00
parent 3a51b93d04
commit d8c8ee487b
7 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ pfUI:RegisterModule("thirdparty", function ()
pfUIhookWIM_PostMessage = WIM_PostMessage
WIM_PostMessage = function(user, msg, ttype, from, raw_msg)
pfUIhookWIM_PostMessage(user, msg, ttype, from, raw_msg)
pfUI.api:CreateBackdrop(getglobal("WIM_msgFrame" .. user), nil, nil, true)
pfUI.api:CreateBackdrop(getglobal("WIM_msgFrame" .. user), nil, nil, .8)
getglobal("WIM_msgFrame" .. user .. "From"):ClearAllPoints()
getglobal("WIM_msgFrame" .. user .. "From"):SetPoint("TOP", 0, -10)