Skip to content

Commit a3a390b

Browse files
committed
attach_arrow
1 parent 80c7917 commit a3a390b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

vpython/vpython.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1356,11 +1356,10 @@ def shaftwidth(self, value):
13561356
self.addattr("shaftwidth")
13571357

13581358
def stop(self):
1359-
self._run = False
1359+
self._run = self.visible = False
13601360

13611361
def start(self):
1362-
self._run = True
1363-
self.visible = True
1362+
self._run = self.visible = True
13641363

13651364
def attach_arrow(o, attr, **args): # factory function returns arrow with special attributes
13661365
'''

vpython/vpython_libraries/glow.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)