Skip to content

Commit 0da69a0

Browse files
author
TJ Ferry
committed
Update HighScores.py
1 parent 8e328f0 commit 0da69a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

HighScores.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@ def __init__(self, default_user_name='Name'):
1212
button = ui.Button(background_color='white',
1313
frame=(360, 175, 75, 32))
1414
button.action = self.button_tapped
15-
button.image = ui.Image('ionicons-arrow-right-a-24')
1615
self.add_subview(button)
1716
self.present('sheet')
1817
self.wait_modal()
1918

19+
def draw(self):
20+
img = ui.Image.named('ionicons-arrow-right-a-24')
21+
img.draw(360, 175, 24, 24)
22+
2023
def button_tapped(self, sender):
2124
self.close()
2225

0 commit comments

Comments
 (0)