SUF - 4.3.3 WoTLK - PTR Errors #1899


Open
  • kzerx created this issue Dec 8, 2022

    Currently running the current release of SUF on PTR tests and am retrieving the following error

     

  • Azirale posted a comment Dec 10, 2022

    The alpha is being set to a negative number. you can fix it like this, first line is unaltered

     

    f.fadeList[fadeFrame] = timeLeft - elapsed
    local alpha = f.fadeList[fadeFrame] / FADEOUT_TIME
    if alpha < 0 then
    	alpha = 0
    end
    fadeFrame:SetAlpha(alpha)
    

     

     

    same kind of fix can be applied at line 151; basically the call to fadeFrame:SetAlpha() can't be negative, so if the value is negative set it to 0


    Edited Dec 10, 2022

To post a comment, please login or register a new account.