Match fix_in_frame status for FlashAround mobject

This commit is contained in:
Grant Sanderson 2021-11-30 11:29:12 -08:00
parent e9afb0ee33
commit ee1594a3cb

View file

@ -224,6 +224,8 @@ class FlashAround(VShowPassingFlash):
def __init__(self, mobject, **kwargs):
digest_config(self, kwargs)
path = self.get_path(mobject)
if mobject.is_fixed_in_frame:
path.fix_in_frame()
path.insert_n_curves(self.n_inserted_curves)
path.set_points(path.get_points_without_null_curves())
path.set_stroke(self.color, self.stroke_width)