fix: fix progress bar in inner theme too
This commit is contained in:
parent
b4014101fe
commit
47dcf8df1a
|
@ -335,9 +335,9 @@
|
||||||
\newlength{\moloch@progressonsectionpage@linewidth}
|
\newlength{\moloch@progressonsectionpage@linewidth}
|
||||||
\setlength{\moloch@progressonsectionpage@linewidth}{0.4pt}
|
\setlength{\moloch@progressonsectionpage@linewidth}{0.4pt}
|
||||||
\setbeamertemplate{progress bar in section page}{
|
\setbeamertemplate{progress bar in section page}{
|
||||||
\setlength{\moloch@progressonsectionpage}{%
|
\pgfmathsetlength{\metropolis@progressonsectionpage}{%
|
||||||
\textwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}%
|
\textwidth * min(1,\insertframenumber/\inserttotalframenumber%
|
||||||
}%
|
}
|
||||||
\tikzexternaldisable%
|
\tikzexternaldisable%
|
||||||
\begin{tikzpicture}
|
\begin{tikzpicture}
|
||||||
\fill[bg] (0,0) rectangle (\textwidth, \moloch@progressonsectionpage@linewidth);
|
\fill[bg] (0,0) rectangle (\textwidth, \moloch@progressonsectionpage@linewidth);
|
||||||
|
|
Loading…
Reference in New Issue