Skip to content

Commit 32c936f

Browse files
committed
fix iterable in paint example
1 parent cd01933 commit 32c936f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/stmpe610_paint_demo.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
if st.touched:
3030
while not st.buffer_empty:
3131
ts = st.touches
32-
for _ in range(len(ts)):
33-
point = ts[_] # get the next point
32+
for point in ts:
3433
# perform transformation to get into display coordinate system!
3534
y = point['y']
3635
x = 4096 - point['x']

0 commit comments

Comments
 (0)