Fix #260: disable TikZ external for our bars

This commit is contained in:
Matthias Vogelgesang 2017-02-13 17:23:29 +01:00
parent 79ea6303ca
commit dc7ae3d632
2 changed files with 6 additions and 0 deletions

View File

@ -199,9 +199,11 @@
\newlength{\metropolis@titleseparator@linewidth} \newlength{\metropolis@titleseparator@linewidth}
\setlength{\metropolis@titleseparator@linewidth}{0.4pt} \setlength{\metropolis@titleseparator@linewidth}{0.4pt}
\setbeamertemplate{title separator}{ \setbeamertemplate{title separator}{
\tikzexternaldisable%
\begin{tikzpicture} \begin{tikzpicture}
\fill[fg] (0,0) rectangle (\textwidth, \metropolis@titleseparator@linewidth); \fill[fg] (0,0) rectangle (\textwidth, \metropolis@titleseparator@linewidth);
\end{tikzpicture}% \end{tikzpicture}%
\tikzexternalenable%
\par% \par%
} }
% \end{macrocode} % \end{macrocode}
@ -336,10 +338,12 @@
\setlength{\metropolis@progressonsectionpage}{% \setlength{\metropolis@progressonsectionpage}{%
\textwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}% \textwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}%
}% }%
\tikzexternaldisable%
\begin{tikzpicture} \begin{tikzpicture}
\fill[bg] (0,0) rectangle (\textwidth, \metropolis@progressonsectionpage@linewidth); \fill[bg] (0,0) rectangle (\textwidth, \metropolis@progressonsectionpage@linewidth);
\fill[fg] (0,0) rectangle (\metropolis@progressonsectionpage, \metropolis@progressonsectionpage@linewidth); \fill[fg] (0,0) rectangle (\metropolis@progressonsectionpage, \metropolis@progressonsectionpage@linewidth);
\end{tikzpicture}% \end{tikzpicture}%
\tikzexternalenable%
} }
% \end{macrocode} % \end{macrocode}
% %

View File

@ -195,10 +195,12 @@
\paperwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}% \paperwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}%
}% }%
\begin{beamercolorbox}[wd=\paperwidth]{progress bar in head/foot} \begin{beamercolorbox}[wd=\paperwidth]{progress bar in head/foot}
\tikzexternaldisable%
\begin{tikzpicture} \begin{tikzpicture}
\fill[bg] (0,0) rectangle (\paperwidth, \metropolis@progressinheadfoot@linewidth); \fill[bg] (0,0) rectangle (\paperwidth, \metropolis@progressinheadfoot@linewidth);
\fill[fg] (0,0) rectangle (\metropolis@progressinheadfoot, \metropolis@progressinheadfoot@linewidth); \fill[fg] (0,0) rectangle (\metropolis@progressinheadfoot, \metropolis@progressinheadfoot@linewidth);
\end{tikzpicture}% \end{tikzpicture}%
\tikzexternalenable%
\end{beamercolorbox} \end{beamercolorbox}
} }
% \end{macrocode} % \end{macrocode}