Change to only compute has_updater status as needed

This commit is contained in:
Grant Sanderson
2024-03-07 15:34:26 -03:00
parent fd35433a62
commit 70b839e188
2 changed files with 32 additions and 22 deletions

View File

@ -65,7 +65,7 @@ class Transform(Animation):
self.target_copy = self.target_mobject.copy()
self.mobject.align_data_and_family(self.target_copy)
super().begin()
if not self.mobject.has_updaters:
if not self.mobject.has_updaters():
self.mobject.lock_matching_data(
self.starting_mobject,
self.target_copy,