From 7e5007eab3107fa4ad6a70beb002fe0bb541ef52 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 21 Jan 2022 22:48:59 +0000
Subject: beamer (21jan22)

git-svn-id: svn://tug.org/texlive/trunk@61684 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/latex/beamer/beamerouterthemedefault.sty           | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

(limited to 'Master/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty')

diff --git a/Master/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty b/Master/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty
index dac39b1ffb0..3113bfb92ad 100644
--- a/Master/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty
+++ b/Master/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty
@@ -18,16 +18,26 @@
   {mini frame,mini frame in current section,mini frame in current subsection}
 {}
 
+\newcommand{\beamer@xelatex@fixminiframes}{%
+  \expandafter\ifx\csname XeTeXrevision\endcsname\relax
+  \else
+    \pgfsetfillopacity{0}
+    \pgftext[x=0cm,y=0.0cm]{.}
+    \pgftext[x=0.1cm,y=0.1cm]{.}    
+  \fi
+}
+
 \defbeamertemplate*{mini frame}{default}
 {%
   \begin{pgfpicture}{0pt}{0pt}{0.1cm}{0.1cm}
     \pgfpathcircle{\pgfpoint{0.05cm}{0.05cm}}{0.05cm}
     \pgfusepath{fill,stroke}
+    \beamer@xelatex@fixminiframes
   \end{pgfpicture}%
 }
 [action]
 {
-  \setbeamersize{mini frame size=.14cm,mini frame offset=.03cm}
+  \setbeamersize{mini frame size=.14cm,mini frame offset=-0.01cm}
 }
 
 \defbeamertemplate*{mini frame in current section}{default}
@@ -35,6 +45,7 @@
   \begin{pgfpicture}{0pt}{0pt}{0.1cm}{0.1cm}
     \pgfpathcircle{\pgfpoint{0.05cm}{0.05cm}}{0.05cm}
     \pgfusepath{stroke}
+    \beamer@xelatex@fixminiframes
   \end{pgfpicture}%
 }
 
@@ -43,6 +54,7 @@
   \begin{pgfpicture}{0pt}{0pt}{0.1cm}{0.1cm}
     \pgfpathcircle{\pgfpoint{0.05cm}{0.05cm}}{0.05cm}
     \pgfusepath{stroke}
+    \beamer@xelatex@fixminiframes
   \end{pgfpicture}%
 }
 
-- 
cgit v1.2.3

