Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Arrow bug fix

Grant Sanderson76ea80230d61
diff --git a/topics/geometry.py b/topics/geometry.py
index b74fcb5d6..70f5ff7aa 100644
--- a/topics/geometry.py
+++ b/topics/geometry.py
@@ -368,7 +368,8 @@ class Arrow(Line):
Line.scale(self, scale_factor, **kwargs)
if self.preserve_tip_size_when_scaling:
self.set_tip_points(self.tip)
- self.set_rectangular_stem_points()
+ if self.use_rectangular_stem:
+ self.set_rectangular_stem_points()
return self
class Vector(Arrow):