Skip to content

Commit

Permalink
Fix error with bogus update data WeakAuras#4518
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbuds authored and InfusOnWoW committed Jul 8, 2023
1 parent 7637fbc commit 2c46c78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WeakAurasOptions/RegionOptions/Texture.lua
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ end

local SQRT2 = sqrt(2)
local function GetRotatedPoints(degrees, scaleForFullRotate)
degrees = degrees or 0
local angle = rad(135 - degrees);
local factor = scaleForFullRotate and 1 or SQRT2
local vx = math.cos(angle) / factor
Expand Down

0 comments on commit 2c46c78

Please sign in to comment.