1
0
Fork 0

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() wasp.watch.drawable.fill()
self.draw() self.draw()
wasp.system.request_tick(1000) wasp.system.request_tick(1000)
wasp.system.request_event(wasp.EventMask.SWIPE_LEFTRIGHT | wasp.system.request_event(wasp.EventMask.SWIPE_UPDOWN |
wasp.EventMask.TOUCH) wasp.EventMask.TOUCH)
def background(self): def background(self):