mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 11:03:03 +08:00
Renamed 'highlight' to 'set_color'
This commit is contained in:
@ -135,7 +135,7 @@ class NumberLine(VMobject):
|
||||
vect = (end - start)/np.linalg.norm(end-start)
|
||||
arrow = Arrow(start, end + MED_SMALL_BUFF*vect, buff = 0)
|
||||
tip = arrow.tip
|
||||
tip.highlight(self.color)
|
||||
tip.set_color(self.color)
|
||||
self.tip = tip
|
||||
self.add(tip)
|
||||
|
||||
|
Reference in New Issue
Block a user