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
+2 -2
View File
@@ -7,7 +7,7 @@ pfUI:RegisterModule("roll", function ()
local border = tonumber(pfUI_config.appearance.border.default)
local esize = size - border*2
local f = CreateFrame("Frame", "pfLootRollFrame" .. id, UIParent)
pfUI.api:CreateBackdrop(f, nil, nil, true)
pfUI.api:CreateBackdrop(f, nil, nil, .8)
f.backdrop:SetFrameStrata("BACKGROUND")
f.hasItem = 1
@@ -183,4 +183,4 @@ pfUI:RegisterModule("roll", function ()
pfUI.roll.frames[i]:Hide()
end
end
end)
end)