mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 21:12:35 +08:00
Remove Mobject.get_highlight
This commit is contained in:
@ -476,15 +476,6 @@ class Mobject(object):
|
|||||||
grid.set_height(height)
|
grid.set_height(height)
|
||||||
return grid
|
return grid
|
||||||
|
|
||||||
def get_highlight(self):
|
|
||||||
from manimlib.mobject.types.dot_cloud import GlowDot
|
|
||||||
highlight = Group(*(
|
|
||||||
GlowDot(self.get_corner(v), color=WHITE)
|
|
||||||
for v in [UR, UL, DL, DR]
|
|
||||||
))
|
|
||||||
highlight.add_updater(lambda m: m.move_to(self))
|
|
||||||
return highlight
|
|
||||||
|
|
||||||
# Copying
|
# Copying
|
||||||
|
|
||||||
def copy(self):
|
def copy(self):
|
||||||
|
Reference in New Issue
Block a user