mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 21:44:19 +08:00
Added Restore animation
This commit is contained in:
@ -158,6 +158,11 @@ class ScaleInPlace(ApplyMethod):
|
|||||||
scale_factor, **kwargs)
|
scale_factor, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
|
class Restore(ApplyMethod):
|
||||||
|
def __init__(self, mobject, **kwargs):
|
||||||
|
ApplyMethod.__init__(self, mobject.restore, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class ApplyFunction(Transform):
|
class ApplyFunction(Transform):
|
||||||
CONFIG = {
|
CONFIG = {
|
||||||
"submobject_mode": "all_at_once",
|
"submobject_mode": "all_at_once",
|
||||||
|
Reference in New Issue
Block a user