Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Small fix so curved arrows look better

Grant Sanderson589fd5e0281a
diff --git a/topics/geometry.py b/topics/geometry.py
index 1c8677771..b74fcb5d6 100644
--- a/topics/geometry.py
+++ b/topics/geometry.py
@@ -319,7 +319,7 @@ class Arrow(Line):
indices = (-2, -1) if add_at_end else (1, 0)
pre_end_point, end_point = [
- self.points[index]
+ self.get_anchors()[index]
for index in indices
]
vect = end_point - pre_end_point