castbar: keep visible in unlock mode

This commit is contained in:
shagu
2018-06-02 16:53:03 +02:00
parent e0df710cff
commit 80723a78d3
+4
View File
@@ -56,6 +56,10 @@ pfUI:RegisterModule("castbar", function ()
cb.bar.right:SetJustifyH("right")
cb:SetScript("OnUpdate", function()
if this.drag and this.drag:IsShown() then
return
end
if this.fadeout and this:GetAlpha() > 0 then
this:SetAlpha(this:GetAlpha()-0.05)
if this:GetAlpha() == 0 then