Commit 397e7028 authored by Blazeflack's avatar Blazeflack

Fixed issue in NoBorders tweak making transparent unitframes invisible

This fixes #28
parent bdcf8ca6
......@@ -50,7 +50,7 @@ local function SetTemplate(f, t, glossTex, ignoreUpdates, forcePixelMode, isUnit
f.ignoreBorderColors = true
f:SetBackdropBorderColor(0, 0, 0, 0)
if isUnitFrameElement then
if isUnitFrameElement and t ~= "Transparent" then
f:SetBackdropColor(0,0,0,0)
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment