varoius improvements

This commit is contained in:
weckyy702
2021-01-24 23:39:34 +01:00
parent 7634804b27
commit cbad444743
5 changed files with 34 additions and 37 deletions

View File

@@ -16,7 +16,7 @@ class Function_scope(Iterable):
return int(h)
def get_width(self) -> int:
w = 200.0
w = 200.0 #minimum width for every block
for inst in self.contents:
w = max(w, inst.getblkwidth())
return int(w)