Skip to content

Commit b41417d

Browse files
committed
VIC-14350 Fix annotations tutorial #193
1 parent c6f2fa4 commit b41417d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

examples/apps/remote_control/remote_control.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,8 @@ def get_anim_sel_drop_downs():
394394
return html_text
395395

396396
def get_anim_trigger_sel_drop_down():
397-
html_text = """<select onchange="handleAnimTriggerDropDownSelect(this)" name="animTriggerSelector">"""
397+
html_text = "x: " # Add keyboard selector
398+
html_text += """<select onchange="handleAnimTriggerDropDownSelect(this)" name="animTriggerSelector">"""
398399
for anim_trigger_name in flask_app.remote_control_vector.anim_trigger_names:
399400
html_text += """<option value=""" + anim_trigger_name + """>""" + anim_trigger_name + """</option>"""
400401
html_text += """</select>"""
@@ -455,7 +456,6 @@ def handle_index_page():
455456
""" + get_anim_sel_drop_downs() + """<br>
456457
<h2>Animation Triggers:</h2>
457458
""" + get_anim_trigger_sel_drop_down() + """<br><br>
458-
<b>X</b> : Play Animation Trigger<br>
459459
</td>
460460
</tr>
461461
</table>

examples/tutorials/19_annotate.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
import sys
2828
import time
2929

30+
from PIL import ImageDraw
31+
3032
import anki_vector
3133
from anki_vector import annotate
3234

0 commit comments

Comments
 (0)