Skip to content

Commit b93569b

Browse files
committed
restore angle parameter for Rotating in add_updater example
1 parent 51151cd commit b93569b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manim/mobject/mobject.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ def dot_position(mobject):
10111011
label.add_updater(dot_position)
10121012
self.add(dot, label)
10131013
1014-
self.play(Rotating(dot, about_point=ORIGIN, run_time=TAU, rate_func=linear))
1014+
self.play(Rotating(dot, about_point=ORIGIN, angle=TAU, run_time=TAU, rate_func=linear))
10151015
10161016
.. manim:: DtUpdater
10171017

0 commit comments

Comments
 (0)