Bug fix to Bubble

This commit is contained in:
Grant Sanderson 2020-08-16 09:45:48 -07:00
parent fd17e42c23
commit 26834178e7

View file

@ -46,7 +46,6 @@ class Exmark(TextMobject):
super().__init__("\\ding{55}")
class Lightbulb(SVGMobject):
CONFIG = {
"file_name": "lightbulb",
@ -478,6 +477,7 @@ class Bubble(SVGMobject):
def flip(self, axis=UP):
Mobject.flip(self, axis=axis)
self.refresh_unit_normal()
self.refresh_triangulation()
if abs(axis[1]) > 0:
self.direction = -np.array(self.direction)