mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
fixed unit color bug
This commit is contained in:
parent
9c6bcd6653
commit
5f7810db83
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue