Unlock mobject data after Write

This commit is contained in:
Grant Sanderson 2021-02-03 14:17:55 -08:00
parent d981ee47e2
commit 003fafc20f

View file

@ -79,6 +79,10 @@ class DrawBorderThenFill(Animation):
self.mobject.match_style(self.outline)
self.mobject.lock_matching_data(self.mobject, self.outline)
def finish(self):
super().finish()
self.mobject.unlock_data()
def get_outline(self):
outline = self.mobject.copy()
outline.set_fill(opacity=0)