How do I reduce the vertical space before a part title in the ToC?
Here is what I have that's related to headers and their ToC entries (I think):
\documentclass{article}
\usepackage{titletoc}
\makeatletter
\def\@part[#1]#2{%
\ifnum \c@secnumdepth >\m@ne
\refstepcounter{part}%
\addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
\else
\addcontentsline{toc}{part}{#1}%
\fi
{\parindent \z@
\interlinepenalty \@M
\normalfont
\ifnum \c@secnumdepth >\m@ne
\Large\bfseries\hfil\partname~\thepart\hfil
\par\nobreak
\fi
\huge\bfseries\sffamily\raggedleft #2%
\markboth{}{}\par}%
\nobreak
\vskip 3ex
\@afterheading}
\makeatother
\makeatletter
\@addtoreset{section}{part}
\@addtoreset{subsection}{section}
\@addtoreset{subsubsection}{subsection}
\makeatother
\titlecontents{section}[1.8em]{}{\contentslabel{1.8em}}{\hspace*{0em}}{\titlerule*[1pc]{.}\contentspage}
\titlecontents{subsection}[4.65em]{}{\contentslabel{2.85em}}{\hspace*{0em}}{\titlerule*[1pc]{.}\contentspage}
\titlecontents{subsubsection}[8.35em]{}{\contentslabel{3.75em}}{\hspace*{0em}}{\titlerule*[1pc]{.}\contentspage}
\renewcommand*\thepart{\arabic{part}}
\renewcommand*\thesection{\thepart.\arabic{section}}
\begin{document}
\tableofcontents
\newpage
\part{sxsafawf}
\section{sasrvth}
\part{sxsafawf}
\section{sasrvth}
\end{document}