diff options
Diffstat (limited to 'graphics/pgf/base/tex/tikzlibraryspy.code.tex')
-rw-r--r-- | graphics/pgf/base/tex/tikzlibraryspy.code.tex | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/pgf/base/tex/tikzlibraryspy.code.tex b/graphics/pgf/base/tex/tikzlibraryspy.code.tex index 1a5e47b446..7f3a63b045 100644 --- a/graphics/pgf/base/tex/tikzlibraryspy.code.tex +++ b/graphics/pgf/base/tex/tikzlibraryspy.code.tex @@ -97,7 +97,7 @@ \pgftransformcm{\pgf@lib@svg@a}{\pgf@lib@svg@b}{\pgf@lib@svg@c}{\pgf@lib@svg@d}{\pgfpointorigin}% } }]{}; - \expandafter\pgfutil@switch\expandafter{\tikz@anchor}{% + \expandafter\pgfutil@switch\expandafter\pgfutil@ifstrequal\expandafter{\tikz@anchor}{% {north} {\def\tikz@spy@anchor{south}}% {north east}{\def\tikz@spy@anchor{south west}}% {east} {\def\tikz@spy@anchor{west}}% @@ -106,9 +106,7 @@ {south west}{\def\tikz@spy@anchor{north east}}% {west} {\def\tikz@spy@anchor{east}}% {north west}{\def\tikz@spy@anchor{south east}}% - % default to center - {default} {\def\tikz@spy@anchor{center}}% - } + }{}{\def\tikz@spy@anchor{center}}% \node [alias=tikzspyinnode,inner sep=0pt,outer sep=0pt,at={#2},every spy in node/.try, path picture={\node[anchor=\tikz@spy@anchor,tikz@lib@reset@gs]{\nullfont% \pgfpicture\relax\pgfsetbaseline{default}\pgfsettrimleft{default}\pgfsettrimright{default}% |