mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Fix dots
This commit is contained in:
parent
17c2772b84
commit
d19b386415
1 changed files with 3 additions and 1 deletions
|
@ -36,7 +36,9 @@ class DecimalNumber(VMobject):
|
|||
|
||||
# Add non-numerical bits
|
||||
if self.show_ellipsis:
|
||||
self.add(self.string_to_mob("..."))
|
||||
dots = self.string_to_mob("...")
|
||||
dots.arrange(RIGHT, buff=2 * dots[0].get_width())
|
||||
self.add(dots)
|
||||
if self.unit is not None:
|
||||
self.unit_sign = self.string_to_mob(self.unit, SingleStringTex)
|
||||
self.add(self.unit_sign)
|
||||
|
|
Loading…
Add table
Reference in a new issue