mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 05:52:34 +08:00
Got sick of inconsistant Tex sizes
This commit is contained in:
@ -13,11 +13,7 @@ class TexMobject(Mobject):
|
||||
}
|
||||
def __init__(self, expression, **kwargs):
|
||||
if "size" not in kwargs:
|
||||
#Todo, make this more sophisticated.
|
||||
if len("".join(expression)) < MAX_LEN_FOR_HUGE_TEX_FONT:
|
||||
size = "\\Huge"
|
||||
else:
|
||||
size = "\\large"
|
||||
size = "\\Large"
|
||||
digest_locals(self)
|
||||
Mobject.__init__(self, **kwargs)
|
||||
|
||||
|
Reference in New Issue
Block a user