Fix ControlsExample Scene (#1551)

This commit is contained in:
sahilmakhijani 2021-06-20 13:07:06 +05:30 committed by GitHub
parent d384fc1e27
commit 01670cf823
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -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))

View file

@ -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):