Skip to content

Commit

Permalink
fix: fix progress bar in inner theme too
Browse files Browse the repository at this point in the history
  • Loading branch information
jolars committed Jan 11, 2024
1 parent b401410 commit 47dcf8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/beamerinnerthememoloch.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 47dcf8d

Please sign in to comment.