Skip to content

Commit

Permalink
transform shape clashes with label position #843
Browse files Browse the repository at this point in the history
In the old code the conditional `\iftikz@label@simple' was set to true
when `transform shape' was in place. I do not understand the reason for
this at all. Honestly I also don't really understand large parts of the
rest of the code. It seems as if `\iftikz@label@simple' will only ever
be true when the label anchor coincides with the center anchor, which is
only ever true for nodes of type coordinate.
  • Loading branch information
hmenke committed Jun 17, 2020
1 parent 6a0e08d commit d96c3f2
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
Original file line number Diff line number Diff line change
Expand Up @@ -790,13 +790,9 @@
\pgf@xc=\pgf@x%
\pgf@yc=\pgf@y%
\tikz@label@simplefalse%
\iftikz@fullytransformed%
\tikz@label@simpletrue%
\else
\ifdim\pgf@xc=\pgf@xb\relax%
\ifdim\pgf@yc=\pgf@yb\relax%
\tikz@label@simpletrue%
\fi%
\ifdim\pgf@xc=\pgf@xb\relax%
\ifdim\pgf@yc=\pgf@yb\relax%
\tikz@label@simpletrue%
\fi%
\fi%
\iftikz@label@simple%
Expand Down

0 comments on commit d96c3f2

Please sign in to comment.