Skip to content

Commit

Permalink
Merge pull request matze#336 from pacien/pr-335
Browse files Browse the repository at this point in the history
Restore theme within frame, making standout slides work with ignorenonframetext
  • Loading branch information
matze authored Aug 1, 2018
2 parents 3e1381f + 1eef71d commit 338eeb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/beamerinnerthememetropolis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -569,11 +569,11 @@
% in order to restore the colours and fonts for the rest of the
% presentation. Unfortunately, we cannot use \AfterEndEnvironment{frame} for
% this (see \url{http://tex.stackexchange.com/questions/226319/}).
% Instead, we add the |\endgroup| to |\beamer@reseteecodes|, which is run
% Instead, we prepend the |\endgroup| to |\beamer@reseteecodes|, which is run
% exactly once at the end of each slide.
%
% \begin{macrocode}
\apptocmd{\beamer@reseteecodes}{%
\pretocmd{\beamer@reseteecodes}{%
\ifbool{metropolis@standout}{
\endgroup
\boolfalse{metropolis@standout}
Expand Down

0 comments on commit 338eeb8

Please sign in to comment.