Use get_bounding_box_point instead of get_critical_point (#4560)

This commit is contained in:
Henrik Skov Midtiby 2026-02-02 05:05:48 +01:00 committed by GitHub
commit 0223143739
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -169,7 +169,7 @@ class GrowFromEdge(GrowFromPoint):
point_color: ParsableManimColor | None = None,
**kwargs: Any,
):
point = mobject.get_critical_point(edge)
point = mobject.get_bounding_box_point(edge)
super().__init__(mobject, point, point_color=point_color, **kwargs)