Skip to content

Commit

Permalink
- fixing cast bar alpha not updating properly
Browse files Browse the repository at this point in the history
  • Loading branch information
cont1nuity committed Jul 11, 2020
1 parent c8f5174 commit 1e04c72
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion fw.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

local dversion = 191
local dversion = 192

local major, minor = "DetailsFramework-1.0", dversion
local DF, oldminor = LibStub:NewLibrary (major, minor)
Expand Down
18 changes: 10 additions & 8 deletions panel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8301,17 +8301,18 @@ DF.CastFrameFunctions = {
self.flashTexture:Hide()
self:Animation_StopAllAnimations()

self:SetAlpha (1)

--> set the statusbar color
self:UpdateCastColor()

if (not self:IsShown()) then
self:Animation_FadeIn()
end

self.Spark:Show()
self:SetAlpha (1)
self:Show()

--> set the statusbar color
self:UpdateCastColor()

--> update the interrupt cast border
self:UpdateInterruptState()

Expand Down Expand Up @@ -8357,16 +8358,17 @@ DF.CastFrameFunctions = {
self.flashTexture:Hide()
self:Animation_StopAllAnimations()

self:SetAlpha (1)

--> set the statusbar color
self:UpdateCastColor()

if (not self:IsShown()) then
self:Animation_FadeIn()
end

self.Spark:Show()
self:SetAlpha (1)
self:Show()

--> set the statusbar color
self:UpdateCastColor()

--> update the interrupt cast border
self:UpdateInterruptState()
Expand Down

0 comments on commit 1e04c72

Please sign in to comment.