From 85742c3219a3eb25b8ae831e9a36ebe03341ccad Mon Sep 17 00:00:00 2001 From: Lukas Pietzschmann Date: Tue, 30 Apr 2024 13:14:52 +0200 Subject: [PATCH] Fixed modal environment --- beamerthemeawesome.sty | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beamerthemeawesome.sty b/beamerthemeawesome.sty index d280e65..01079c5 100644 --- a/beamerthemeawesome.sty +++ b/beamerthemeawesome.sty @@ -350,7 +350,7 @@ segmentation style={lcr, solid, shorten >=1mm,shorten <=1mm, line width=\smile@l \newenvironment<>{modal}[1][]{% \def\titlename{#1}% - \onlyenv#2% + \visibleenv#2% \begin{tikzpicture}[o,node distance=0pt]% \fill[modal background] (current page.south west) rectangle (current page.north east);% \node[modal box] at (current page) (MODALCONTENT) \bgroup% @@ -358,7 +358,7 @@ segmentation style={lcr, solid, shorten >=1mm,shorten <=1mm, line width=\smile@l \egroup;% \if\expandafter\isempty\expandafter{\titlename}\else\node[modal title] at (MODALCONTENT.north) {\titlename};\fi \end{tikzpicture}% - \endonlyenv% + \endvisibleenv% } \ensureinfocommand{title}