mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 14:47:44 +00:00
Bug fix to Bubble
This commit is contained in:
parent
fd17e42c23
commit
26834178e7
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue