Skip to content

Commit

Permalink
ProgressTexture: Fix switching from timed to static progress
Browse files Browse the repository at this point in the history
  • Loading branch information
InfusOnWoW committed Mar 20, 2024
1 parent e2cf1ad commit e9b714e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions WeakAuras/RegionTypes/ProgressTexture.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1346,6 +1346,11 @@ local function modify(parent, region, data)
region:SetValueOnTexture(progress);
region:ReapplyAdditionalProgress()
end

if self.FrameTick then
self.FrameTick = nil
self.subRegionEvents:RemoveSubscriber("FrameTick", region)
end
end

if region.useSmoothProgress then
Expand Down

0 comments on commit e9b714e

Please sign in to comment.