mirror of
https://github.com/3b1b/manim.git
synced 2026-04-26 03:00:23 -04:00
Have arrows default to flat stroke
This commit is contained in:
@@ -642,6 +642,7 @@ class Arrow(Line):
|
||||
end: Vect3 | Mobject,
|
||||
stroke_color: ManimColor = GREY_A,
|
||||
stroke_width: float = 5,
|
||||
flat_stroke: bool = True,
|
||||
buff: float = 0.25,
|
||||
tip_width_ratio: float = 5,
|
||||
tip_len_to_width: float = 0.0075,
|
||||
@@ -659,6 +660,7 @@ class Arrow(Line):
|
||||
start, end,
|
||||
stroke_color=stroke_color,
|
||||
stroke_width=stroke_width,
|
||||
flat_stroke=flat_stroke,
|
||||
buff=buff,
|
||||
**kwargs
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user