summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/plain_Label.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-04-06 15:21:10 +0000
committerKarl Berry <karl@freefriends.org>2018-04-06 15:21:10 +0000
commitf43901a2e69137a91d953d854976bf91dc5905a5 (patch)
treef68c911b3d3e61ea5d343b2144c07e3f82d0b2b5 /Master/texmf-dist/asymptote/plain_Label.asy
parent02985bccb92d6c159bbcd4621c92edb0dedb263b (diff)
asymptote 2.43
git-svn-id: svn://tug.org/texlive/trunk@47325 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/plain_Label.asy')
-rw-r--r--Master/texmf-dist/asymptote/plain_Label.asy2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/asymptote/plain_Label.asy b/Master/texmf-dist/asymptote/plain_Label.asy
index 1e424ab1c0a..516ed4be711 100644
--- a/Master/texmf-dist/asymptote/plain_Label.asy
+++ b/Master/texmf-dist/asymptote/plain_Label.asy
@@ -1,7 +1,7 @@
real angle(transform t)
{
pair z=(2t.xx*t.yy,t.yx*t.yy-t.xx*t.xy);
- if(t.xx < 0) z=-z;
+ if(t.xx < 0 || t.yy < 0) z=-z;
return degrees(z,warn=false);
}