mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 14:03:59 +08:00
Allow configuration in Brace.get_text
This commit is contained in:
@ -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):
|
||||
|
Reference in New Issue
Block a user