/
end |
listFrame:ClearAllPoints(); |
-- If this is a dropdown button, not the arrow anchor it to itself |
if ( strsub(button:GetParent():GetName(), 0,12) == "Lib_DropDownList" and strlen(button:GetParent():GetName()) == 13 ) then |
if ( strsub(button:GetParent():GetName(), 0,16) == "Lib_DropDownList" and strlen(button:GetParent():GetName()) == 17 ) then |
anchorFrame = button; |
else |
anchorFrame = button:GetParent(); |