From 28357d2173301937d454b80018b228f2ed2fb8be Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Wed, 5 Apr 2023 11:38:58 +0200 Subject: [PATCH] Do not always write the envelope paper size --- envelope.asy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envelope.asy b/envelope.asy index f927b3c..32a7068 100644 --- a/envelope.asy +++ b/envelope.asy @@ -30,7 +30,7 @@ if (with_labels) draw(box((0,0), (210,210)), p=red); pair envc = (sqsz/2, sqsz/2); // Write a paper type to the image? -label(rotate(45)*scale(4)*Label(envfmt, envc, p=gray)); +if (with_labels) label(rotate(45)*scale(4)*Label(envfmt, envc, p=gray)); pair corn_vec = unit((1,1)) * (envw/2) + unit((1,-1)) * (envh/2); pair flip(pair p) {