Anonymous avatar Anonymous committed 9ac3636

Limit range of swings

Comments (0)

Files changed (1)

 
 	def swing(self, speed):
 		cur = self.counts[5]
-		self.moveto(6, cur + 20000, 1000)
+		self.moveto(6, cur + 15000, 1000)
 		time.sleep(3)
-		self.moveto(6, cur - 30000, speed)
+		self.moveto(6, cur - 15000, speed)
 		time.sleep(10)
 		self.moveto(6, cur, 1000)
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.