Skip to content

Commit

Permalink
Stop Motion: Properly fix GetColor function
Browse files Browse the repository at this point in the history
We need to return the unanimated values

Fixes: #5602
  • Loading branch information
InfusOnWoW committed Jan 4, 2025
1 parent 3c1dd73 commit daa0dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WeakAuras/RegionTypes/StopMotion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ local function modify(parent, region, data)
--- @class StopMotionRegion
--- @field GetColor fun(self: StopMotionRegion): number, number, number, number
function region:GetColor()
return self.foreground:GetColor()
return region.color_r, region.color_g, region.color_b, region.color_a
end

--- @class StopMotionRegion
Expand Down

0 comments on commit daa0dff

Please sign in to comment.