Rename updater.py to mobject_update_utils.py

This commit is contained in:
Grant Sanderson
2019-02-11 12:51:50 -08:00
parent 94b943f544
commit bac64eddb3
3 changed files with 2 additions and 2 deletions

View File

@ -0,0 +1,4 @@
def updating_mobject_from_func(func):
mob = func()
mob.add_updater(lambda m: mob.become(func()))
return mob