Advertisement
Infus

Untitled

Jul 26th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.78 KB | None | 0 0
  1. commit 6cf22bf71b0aa8a746a79f02777c8748a49e509a
  2. Author: Infus <infus@squorn.de>
  3. Date:   Tue Jul 26 13:31:00 2016 +0200
  4.  
  5.     Fix circular progress flickering
  6.    
  7.     Ticket-Nr: 632
  8.  
  9. diff --git a/WeakAuras/RegionTypes/aurabar.lua b/WeakAuras/RegionTypes/aurabar.lua
  10. index fedfc5f..19a8d2f 100644
  11. --- a/WeakAuras/RegionTypes/aurabar.lua
  12. +++ b/WeakAuras/RegionTypes/aurabar.lua
  13. @@ -419,9 +419,11 @@ local function animRotate(object, degrees, anchor)
  14.  
  15.          rotate:SetOrigin(anchor, 0, 0);
  16.          rotate:SetDegrees(degrees);
  17. -        rotate:SetDuration(0.000001);
  18. +        rotate:SetDuration(0);
  19.          rotate:SetEndDelay(2147483647);
  20.          group:Play();
  21. +        rotate:SetSmoothProgress(1);
  22. +        group:Pause();
  23.      end
  24.  end
  25.  WeakAuras.animRotate = animRotate;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement