Merge pull request #336 from pacien/pr-335

Restore theme within frame, making standout slides work with ignorenonframetext
This commit is contained in:
Matthias Vogelgesang 2018-08-01 18:54:51 +02:00 committed by GitHub
commit 338eeb83fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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}