StorageShelf: Use top and bottom_egde for height calculation with "outside" set
This commit is contained in:
parent
605692f751
commit
657b978aa0
|
@ -64,7 +64,7 @@ class StorageShelf(_TopEdge):
|
|||
def render(self):
|
||||
if self.outside:
|
||||
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)
|
||||
|
||||
y = sum(self.sy) + self.thickness * (len(self.sy) - 1)
|
||||
|
|
Loading…
Reference in New Issue