Fix bug with eyes

This commit is contained in:
Grant Sanderson 2020-02-22 13:18:50 -08:00
parent 0b0dbcb5d8
commit c8befa5b9a

View file

@ -132,8 +132,8 @@ class PiCreature(SVGMobject):
new_pupil.move_to(pupil) new_pupil.move_to(pupil)
pupil.become(new_pupil) pupil.become(new_pupil)
dot.shift( dot.shift(
new_pupil.get_boundary_point(UL) - new_pupil.point_from_proportion(3 / 8) -
dot.get_boundary_point(UL) dot.point_from_proportion(3 / 8)
) )
pupil.add(dot) pupil.add(dot)