fix(api): include bottom margin when calculating output size
This commit is contained in:
parent
171b9b04f7
commit
da3d95ff49
|
@ -74,7 +74,7 @@ class Size:
|
|||
def add_border(self, border: Border):
|
||||
return Size(
|
||||
border.left + self.width + border.right,
|
||||
border.top + self.height + border.right,
|
||||
border.top + self.height + border.bottom,
|
||||
)
|
||||
|
||||
def tojson(self) -> Dict[str, int]:
|
||||
|
|
Loading…
Reference in New Issue