Revert back to original TexMobject.add_background_rectangle

This commit is contained in:
Grant Sanderson
2016-08-09 14:17:40 -07:00
parent e5747b3f3b
commit 95b7ecb25b
2 changed files with 36 additions and 8 deletions

View File

@ -100,7 +100,7 @@ class TexMobject(SVGMobject):
fill_opacity = opacity
)
letters = VMobject(*self.submobjects)
self.add_to_back(rect)
self.submobjects = [rect, letters]
return self
class TextMobject(TexMobject):