From 2061f95ef557977952b0ed8d7f0c73e3f2656f03 Mon Sep 17 00:00:00 2001 From: Sahil Makhijani Date: Mon, 1 Feb 2021 22:55:36 +0530 Subject: [PATCH] Fixed ControlMobject Typo --- manimlib/mobject/interactive.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/manimlib/mobject/interactive.py b/manimlib/mobject/interactive.py index 79c80f23..bb27c99e 100644 --- a/manimlib/mobject/interactive.py +++ b/manimlib/mobject/interactive.py @@ -57,7 +57,7 @@ class Button(Mobject): # Controls -class ContolMobject(ValueTracker): +class ControlMobject(ValueTracker): CONFIG = { "listen_to_events": True } @@ -84,7 +84,7 @@ class ContolMobject(ValueTracker): pass -class EnableDisableButton(ContolMobject): +class EnableDisableButton(ControlMobject): CONFIG = { "value_type": np.dtype(bool), "rect_kwargs": { @@ -118,7 +118,7 @@ class EnableDisableButton(ContolMobject): return False -class Checkbox(ContolMobject): +class Checkbox(ControlMobject): CONFIG = { "value_type": np.dtype(bool), "rect_kwargs": { @@ -187,7 +187,7 @@ class Checkbox(ContolMobject): return cross -class LinearNumberSlider(ContolMobject): +class LinearNumberSlider(ControlMobject): CONFIG = { # Since, only slider circle listnes to drag event "listen_to_events": False, @@ -349,7 +349,7 @@ class ColorSliders(Group): return rgba[3] -class Textbox(ContolMobject): +class Textbox(ControlMobject): CONFIG = { "value_type": np.dtype(object),