diff --git a/source/beamerinnerthememetropolis.dtx b/source/beamerinnerthememetropolis.dtx index 89550ea..f312d0a 100644 --- a/source/beamerinnerthememetropolis.dtx +++ b/source/beamerinnerthememetropolis.dtx @@ -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} diff --git a/source/beamerouterthememetropolis.dtx b/source/beamerouterthememetropolis.dtx index 6a9044f..42e65a3 100644 --- a/source/beamerouterthememetropolis.dtx +++ b/source/beamerouterthememetropolis.dtx @@ -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} }