Skip to content

Commit

Permalink
Merge pull request #239 from EagleoutIce/237-incomplete-ifx-iftrue-etc
Browse files Browse the repository at this point in the history
fix incomplete if problem with horses
  • Loading branch information
EagleoutIce authored Mar 22, 2023
2 parents 769c563 + 890c6c9 commit 1f7d855
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tex/tikzpingus-horse.lib.tex
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@
\pingu@draw[line width=\@pingu@@horse@lw*\pingu@@horse@scale]{\csname pingu@color@horse#1@draw\endcsname} ([yshift=-.1mm]@mouth-low) to[bend left=12] ++(.06,.65);
\pingu@draw[line width=\@pingu@@horse@lw*\pingu@@horse@scale]{\csname pingu@color@horse#1@mouth\endcsname} ([yshift=-.115mm]@mouth) -- ++(-.035,.225);

\pingu@draw[line width=\@pingu@@horse@lw*\pingu@@horse@scale,line join=round]{\csname pingu@color@horse#1@nose\endcsname} ([xshift=\if@pingu@@horse@@donkey@ 4.5mm\else3.85mm\fi,yshift=\if@pingu@@horse@@donkey@3.65mm\else2.45mm\fi]@mouth) to[out=140,in=10] ++(-.17,-.074) to[bend right=49] cycle;
\edef\pingu@tmp{\if@pingu@@horse@@donkey@4.5mm\else3.85mm\fi}%
\edef\pingu@tmpb{\if@pingu@@horse@@donkey@3.65mm\else2.45mm\fi}%
\pingu@draw[line width=\@pingu@@horse@lw*\pingu@@horse@scale,line join=round]{\csname pingu@color@horse#1@nose\endcsname} ([xshift=\pingu@tmp,yshift=\pingu@tmpb]@mouth) to[out=140,in=10] ++(-.17,-.074) to[bend right=49] cycle;

\pingu@draw[line width=\@pingu@@horse@lw*\pingu@@horse@scale]{\csname pingu@color@horse#1@draw\endcsname} ([yshift=-.35mm]@frontleg) to[bend left=12] ++(.01,.325);
\pingu@draw[line width=\@pingu@@horse@lw*\pingu@@horse@scale]{\csname pingu@color@horse#1@draw\endcsname} ([yshift=-.2mm]@backleg) to[bend right=13] ++(.25,.425);
Expand Down

0 comments on commit 1f7d855

Please sign in to comment.