• 0

    posted a message on Shadowed Unit Frames [official]
    I noticed RangeChecker not work on the raid frames after Profile had been changed. I rewrote the Range:OnEnable function of range.lua as follows. Then, RangeChecker seems to work correctly. I do not know whether this change is appropriate.
    function Range:OnEnable(frame)
    	if( not frame.range ) then
    		frame.range = CreateFrame("Frame", nil, frame)
    		frame.range:SetScript("OnUpdate", checkRange)
    	frame.range.timeElapsed = 0
    	frame.range.parent = frame
    	frame:RegisterUpdateFunc(self, "ForceUpdate")
    Posted in: Unit Frames
  • To post a comment, please or register a new account.