buildgraph: improve point placement

This commit is contained in:
Laura Klünder 2016-12-10 16:24:48 +01:00
parent f2563db8bf
commit 3eaf5ed17e
3 changed files with 8 additions and 7 deletions

View file

@ -33,7 +33,7 @@ class GraphArea():
angle_diff = ((stair_angle - angle + 180) % 360) - 180
up = angle_diff < 0 # noqa
if not (50 < abs(angle_diff) < 130):
if not (40 < abs(angle_diff) < 150):
valid = False
break