fixed unit color bug

This commit is contained in:
Ben Hambrecht 2018-04-27 18:28:49 +02:00
parent 9c6bcd6653
commit 5f7810db83

View file

@ -51,7 +51,7 @@ class DecimalNumber(VMobject):
)
if self.unit is not None:
self.unit_sign = TexMobject(self.unit)
self.unit_sign = TexMobject(self.unit, color = self.color)
self.add(self.unit_sign)
self.arrange_submobjects(