mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Fix ControlsExample Scene (#1551)
This commit is contained in:
parent
d384fc1e27
commit
01670cf823
2 changed files with 2 additions and 4 deletions
|
@ -646,7 +646,7 @@ class ControlsExample(Scene):
|
|||
self.add(self.panel)
|
||||
|
||||
def construct(self):
|
||||
text = Text("", size=2)
|
||||
text = Text("text", size=2)
|
||||
|
||||
def text_updater(old_text):
|
||||
assert(isinstance(old_text, Text))
|
||||
|
|
|
@ -57,9 +57,7 @@ class Mobject(object):
|
|||
# Must match in attributes of vert shader
|
||||
"shader_dtype": [
|
||||
('point', np.float32, (3,)),
|
||||
],
|
||||
# Event listener
|
||||
"listen_to_events": False
|
||||
]
|
||||
}
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
|
|
Loading…
Add table
Reference in a new issue