mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 11:03:03 +08:00
scale_to_fit_width -> set_width, likewise for height and depth
This commit is contained in:
@ -177,7 +177,7 @@ class Circle(Arc):
|
||||
# TODO: Figure out and fix
|
||||
self.replace(mobject, dim_to_match, stretch)
|
||||
|
||||
self.scale_to_fit_width(
|
||||
self.set_width(
|
||||
np.sqrt(mobject.get_width()**2 + mobject.get_height()**2))
|
||||
self.scale(buffer_factor)
|
||||
|
||||
|
Reference in New Issue
Block a user