Bug: Buttons are created each time you move your character
KalitaAlexey opened this issue ยท 10 comments
I added print to the function that adds a button and started moving.
At that moment I saw my chat overwhelmed with log message.
It could greatly impact users' experience.
I can't test it at the Moment. I have no play time. Can you send me a screen?
function frame:PLAYER_STOPPED_MOVING(arg1)
if type(QC_Point)=="table" and QC.F~=nil then update_frame_btn(); end
end
function frame:PLAYER_STARTED_MOVING(arg1)
if type(QC_Point)=="table" and QC.F~=nil then update_frame_btn(); end
end
Dunno :)
Remove this liens should fix this. Must test it when I have play time end this month.
function frame:PLAYER_STOPPED_MOVING(arg1)
if type(QC_Point)=="table" and QC.F~=nil then update_frame_btn(); end
end
function frame:PLAYER_STARTED_MOVING(arg1)
if type(QC_Point)=="table" and QC.F~=nil then update_frame_btn(); end
end
frame:RegisterEvent("PLAYER_STOPPED_MOVING");
frame:RegisterEvent("PLAYER_STARTED_MOVING");
Must delete.