summaryrefslogtreecommitdiff
path: root/wasp
diff options
context:
space:
mode:
authorTait Berlette <54515877+taitberlette@users.noreply.github.com>2021-03-19 14:19:17 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2021-03-27 09:08:36 (GMT)
commit79744770b0f7e241cd7981d49b0c2717eed791f0 (patch)
tree8f77082a0bf3e02af08550ae90dc9d8f326a413f /wasp
parentd966c960c13ae8375c09f7b9f5b9aab53891e607 (diff)
apps: music: Change SWIPE_LEFTRIGHT to SWIPE_UPDOWN.
The music player volume control uses up and down events, but in the foreground function the app requests left and right events. Signed-off-by: Tait Berlette <54515877+taitberlette@users.noreply.github.com>
Diffstat (limited to 'wasp')
-rw-r--r--wasp/apps/musicplayer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wasp/apps/musicplayer.py b/wasp/apps/musicplayer.py
index 8555785..493176b 100644
--- a/wasp/apps/musicplayer.py
+++ b/wasp/apps/musicplayer.py
@@ -110,7 +110,7 @@ class MusicPlayerApp(object):
wasp.watch.drawable.fill()
self.draw()
wasp.system.request_tick(1000)
- wasp.system.request_event(wasp.EventMask.SWIPE_LEFTRIGHT |
+ wasp.system.request_event(wasp.EventMask.SWIPE_UPDOWN |
wasp.EventMask.TOUCH)
def background(self):