mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Numberline arrowhead should share strokewidth of numberline
This commit is contained in:
parent
1c348cbe95
commit
cba0c78cf7
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ class NumberLine(VMobject):
|
|||
vect = (end - start) / get_norm(end - start)
|
||||
arrow = Arrow(start, end + MED_SMALL_BUFF * vect, buff=0)
|
||||
tip = arrow.tip
|
||||
tip.set_stroke(width=self.get_stroke_width())
|
||||
tip.set_color(self.color)
|
||||
self.tip = tip
|
||||
self.add(tip)
|
||||
|
|
Loading…
Add table
Reference in a new issue