Skip to content

Commit af98066

Browse files
committed
Fix Relative Progress Animations not running in certain cases
Relative Progress Animations rely on the region having information on the progress, which is set by UpdateProgress. Thus we need to call UpdateProgress in all cases. Fixes: #4936
1 parent 2b4f0bf commit af98066

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

WeakAuras/RegionTypes/Icon.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ local function modify(parent, region, data)
613613
region.UpdateTime = nil
614614

615615
function region:Update()
616+
region:UpdateProgress()
616617
region:UpdateIcon()
617618
end
618619
end

WeakAuras/RegionTypes/Texture.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ local function modify(parent, region, data)
189189
DoTexCoord()
190190
end
191191
end
192+
region:UpdateProgress()
192193
end
193194

194195
function region:Color(r, g, b, a)

0 commit comments

Comments
 (0)