mirror of https://github.com/matze/mtheme.git
Fix the "Overfull \hbox (0.4pt too wide)" bug when using progress bar.
This commit is contained in:
parent
127b9aca65
commit
3b08e613fe
|
@ -197,7 +197,7 @@
|
|||
% \begin{macrocode}
|
||||
\setbeamertemplate{title separator}{
|
||||
\begin{tikzpicture}
|
||||
\draw[fg, fill=fg] (0,0) rectangle (\textwidth, 0.4pt);
|
||||
\fill[fg] (0,0) rectangle (\textwidth, 0.4pt);
|
||||
\end{tikzpicture}%
|
||||
\par%
|
||||
}
|
||||
|
@ -332,8 +332,8 @@
|
|||
\textwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}%
|
||||
}%
|
||||
\begin{tikzpicture}
|
||||
\draw[bg, fill=bg] (0,0) rectangle (\textwidth, 0.4pt);
|
||||
\draw[fg, fill=fg] (0,0) rectangle (\metropolis@progressonsectionpage, 0.4pt);
|
||||
\fill[bg] (0,0) rectangle (\textwidth, 0.4pt);
|
||||
\fill[fg] (0,0) rectangle (\metropolis@progressonsectionpage, 0.4pt);
|
||||
\end{tikzpicture}%
|
||||
}
|
||||
% \end{macrocode}
|
||||
|
|
|
@ -187,8 +187,8 @@
|
|||
}%
|
||||
\begin{beamercolorbox}[wd=\paperwidth]{progress bar in head/foot}
|
||||
\begin{tikzpicture}
|
||||
\draw[bg, fill=bg] (0,0) rectangle (\paperwidth, 0.4pt);
|
||||
\draw[fg, fill=fg] (0,0) rectangle (\metropolis@progressinheadfoot, 0.4pt);
|
||||
\fill[bg] (0,0) rectangle (\paperwidth, 0.4pt);
|
||||
\fill[fg] (0,0) rectangle (\metropolis@progressinheadfoot, 0.4pt);
|
||||
\end{tikzpicture}%
|
||||
\end{beamercolorbox}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue