Unverified Commit 338eeb83 authored by Matthias Vogelgesang's avatar Matthias Vogelgesang Committed by GitHub
Browse files

Merge pull request #336 from pacien/pr-335

Restore theme within frame, making standout slides work with ignorenonframetext
parents 3e1381f8 1eef71d7
...@@ -569,11 +569,11 @@ ...@@ -569,11 +569,11 @@
% in order to restore the colours and fonts for the rest of the % in order to restore the colours and fonts for the rest of the
% presentation. Unfortunately, we cannot use \AfterEndEnvironment{frame} for % presentation. Unfortunately, we cannot use \AfterEndEnvironment{frame} for
% this (see \url{http://tex.stackexchange.com/questions/226319/}). % 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. % exactly once at the end of each slide.
% %
% \begin{macrocode} % \begin{macrocode}
\apptocmd{\beamer@reseteecodes}{% \pretocmd{\beamer@reseteecodes}{%
\ifbool{metropolis@standout}{ \ifbool{metropolis@standout}{
\endgroup \endgroup
\boolfalse{metropolis@standout} \boolfalse{metropolis@standout}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment