summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/geometry.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/asymptote/geometry.asy')
-rw-r--r--Master/texmf-dist/asymptote/geometry.asy2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/asymptote/geometry.asy b/Master/texmf-dist/asymptote/geometry.asy
index 2bc062f3560..245c59ec084 100644
--- a/Master/texmf-dist/asymptote/geometry.asy
+++ b/Master/texmf-dist/asymptote/geometry.asy
@@ -1296,7 +1296,7 @@ void perpendicularmark(picture pic = currentpicture, point z,
relative to the path z--z + dir.
dir(45 + n * 90), where n in N*, are common values for 'align'.</documentation></function></asyxml>*/
p = squarecap + miterjoin + p;
- if(size == 0) size = perpfactor * 3mm + sqrt(1 + linewidth(p)) - 1;
+ if(size == 0) size = perpfactor * 3mm + linewidth(p) / 2;
frame apic;
pair d1 = size * align * unit(dir) * dir(-45);
pair d2 = I * d1;