TypeTray: Fix front when back_height is set

Side edges did not fit into side walls.

Resolves: #336
Thanks to https://github.com/RestlessRabbits for reporting!
This commit is contained in:
Florian Festi 2021-11-06 22:44:23 +01:00
parent bf5e3ecc76
commit a0f8fdd975
1 changed files with 8 additions and 3 deletions

View File

@ -111,6 +111,11 @@ class TypeTray(_TopEdge):
callback=[self.xHoles, None, self.gripHole],
ignore_widths=[] if bh else [1, 6],
move="up")
if bh:
self.rectangularWall(x, h, [b, "f", t3, "f"],
callback=[self.mirrorX(self.xHoles, x), ],
move="up")
else:
self.rectangularWall(x, h, [b, "F", t3, "F"],
callback=[self.mirrorX(self.xHoles, x), ],
ignore_widths=[1, 6], move="up")