fix: fix progress bar in inner theme too

This commit is contained in:
Johan Larsson 2024-01-11 09:09:32 +01:00
parent b4014101fe
commit 47dcf8df1a
1 changed files with 3 additions and 3 deletions

View File

@ -335,9 +335,9 @@
\newlength{\moloch@progressonsectionpage@linewidth}
\setlength{\moloch@progressonsectionpage@linewidth}{0.4pt}
\setbeamertemplate{progress bar in section page}{
\setlength{\moloch@progressonsectionpage}{%
\textwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}%
}%
\pgfmathsetlength{\metropolis@progressonsectionpage}{%
\textwidth * min(1,\insertframenumber/\inserttotalframenumber%
}
\tikzexternaldisable%
\begin{tikzpicture}
\fill[bg] (0,0) rectangle (\textwidth, \moloch@progressonsectionpage@linewidth);