Skip to content
Snippets Groups Projects
Commit 41f67497 authored by moon2's avatar moon2 :speech_balloon:
Browse files

tiny sampler: throw out that one undocumented mode

parent 31af0c84
No related branches found
No related tags found
1 merge request!635tiny sampler: throw out that one undocumented mode
Pipeline #9527 passed
...@@ -289,9 +289,13 @@ class TinySampler(Application): ...@@ -289,9 +289,13 @@ class TinySampler(Application):
return return
if self.input.buttons.app.left.pressed: if self.input.buttons.app.left.pressed:
self.mode -= 1 self.mode -= 1
if self.mode == 3:
self.mode -= 1
release_all = True release_all = True
elif self.input.buttons.app.right.pressed: elif self.input.buttons.app.right.pressed:
self.mode += 1 self.mode += 1
if self.mode == 3:
self.mode += 1
release_all = True release_all = True
else: else:
release_all = False release_all = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment