mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Allow configuration in Brace.get_text
This commit is contained in:
parent
e95aa69c4c
commit
ca9f4357fa
1 changed files with 3 additions and 2 deletions
|
@ -63,8 +63,9 @@ class Brace(SingleStringTex):
|
|||
return self
|
||||
|
||||
def get_text(self, text, **kwargs):
|
||||
text_mob = Text(text)
|
||||
self.put_at_tip(text_mob, **kwargs)
|
||||
buff = kwargs.pop("buff", SMALL_BUFF)
|
||||
text_mob = Text(text, **kwargs)
|
||||
self.put_at_tip(text_mob, buff=buff)
|
||||
return text_mob
|
||||
|
||||
def get_tex(self, *tex, **kwargs):
|
||||
|
|
Loading…
Add table
Reference in a new issue