1
0
Fork 0

fix(api): include bottom margin when calculating output size

This commit is contained in:
Sean Sube 2023-03-10 17:59:16 -06:00
parent 171b9b04f7
commit da3d95ff49
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 1 deletions

View File

@ -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]: