Fixed bug with VMobject.close_new_points

This commit is contained in:
Grant Sanderson
2018-08-21 19:25:34 -07:00
parent 98a7f254ee
commit 8103b723a8
2 changed files with 10 additions and 6 deletions

View File

@ -538,7 +538,7 @@ class Arrow(Line):
def set_rectangular_stem_points(self):
start, end = self.get_start_and_end()
tip_base_points = self.tip[0].get_anchors()[1:]
tip_base_points = self.tip[0].get_anchors()[1:3]
tip_base = center_of_mass(tip_base_points)
tbp1, tbp2 = tip_base_points
perp_vect = tbp2 - tbp1