From d6faf5be3ef4200fc5fbd7a38d03cda67848379b Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Mon, 8 Aug 2022 21:36:22 +0200 Subject: [PATCH] rectangularWall: Fix placement for ignore_widths 6 we need to move for the edge margin every time. Otherwise the edge will stick out. --- boxes/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/boxes/__init__.py b/boxes/__init__.py index 1d26b60..ab2d8af 100755 --- a/boxes/__init__.py +++ b/boxes/__init__.py @@ -2357,8 +2357,7 @@ class Boxes: if 7 not in ignore_widths: self.moveTo(edges[-1].spacing()) - if 6 not in ignore_widths: - self.moveTo(0, edges[0].margin()) + self.moveTo(0, edges[0].margin()) for i, l in enumerate((x, y, x, y)): self.cc(callback, i, y=edges[i].startwidth() + self.burn) e1, e2 = edges[i], edges[i + 1]