Fix the color of tip

This commit is contained in:
widcardw 2021-06-13 21:07:25 +08:00 committed by GitHub
parent 3b3150c3c5
commit e885ec6ecd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,6 +64,7 @@ class TipableVMobject(VMobject):
tip = self.create_tip(at_start, **kwargs)
self.reset_endpoints_based_on_tip(tip, at_start)
self.asign_tip_attr(tip, at_start)
tip.set_color(self.get_stroke_color())
self.add(tip)
return self