mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Ensure Brace.get_tex uses buff key word arg
This commit is contained in:
parent
5632fee9a3
commit
712fa30174
1 changed files with 3 additions and 2 deletions
|
@ -91,8 +91,9 @@ class Brace(Tex):
|
|||
return text_mob
|
||||
|
||||
def get_tex(self, *tex: str, **kwargs) -> Tex:
|
||||
tex_mob = Tex(*tex)
|
||||
self.put_at_tip(tex_mob, **kwargs)
|
||||
buff = kwargs.pop("buff", SMALL_BUFF)
|
||||
tex_mob = Tex(*tex, **kwargs)
|
||||
self.put_at_tip(tex_mob, buff=buff)
|
||||
return tex_mob
|
||||
|
||||
def get_tip(self) -> np.ndarray:
|
||||
|
|
Loading…
Add table
Reference in a new issue