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>
This commit is contained in:
Tait Berlette 2021-03-19 10:19:17 -04:00 committed by Daniel Thompson
parent d966c960c1
commit 79744770b0

View file

@ -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):