StorageShelf: Use top and bottom_egde for height calculation with "outside" set

This commit is contained in:
Florian Festi 2019-09-01 15:44:34 +02:00
parent 605692f751
commit 657b978aa0
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class StorageShelf(_TopEdge):
def render(self): def render(self):
if self.outside: if self.outside:
self.sy = self.adjustSize(self.sy) self.sy = self.adjustSize(self.sy)
self.sh = self.adjustSize(self.sh) self.sh = self.adjustSize(self.sh, self.top_edge, self.bottom_edge)
self.x = self.adjustSize(self.x, e2=False) self.x = self.adjustSize(self.x, e2=False)
y = sum(self.sy) + self.thickness * (len(self.sy) - 1) y = sum(self.sy) + self.thickness * (len(self.sy) - 1)