fix bug
This commit is contained in:
parent
e9fa9d914d
commit
50cd702c0c
@ -46,7 +46,9 @@ def grow_node(root, width, height):
|
|||||||
elif can_grow_down:
|
elif can_grow_down:
|
||||||
return grow_down(root, width, height)
|
return grow_down(root, width, height)
|
||||||
else:
|
else:
|
||||||
return None
|
root.width=root.width+width
|
||||||
|
root.height=root.height+height
|
||||||
|
return grow_node(root, width, height)
|
||||||
|
|
||||||
|
|
||||||
def grow_right(root, width, height):
|
def grow_right(root, width, height):
|
||||||
|
Loading…
Reference in New Issue
Block a user