aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--music_sampler/key.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/music_sampler/key.py b/music_sampler/key.py
index b73a29c..983c5a6 100644
--- a/music_sampler/key.py
+++ b/music_sampler/key.py
@@ -149,14 +149,14 @@ class KeyMachine(Widget):
149 self.key.parent.parent.ids['KeyList'].append(self.key.key_sym) 149 self.key.parent.parent.ids['KeyList'].append(self.key.key_sym)
150 debug_print("running actions for {}".format(self.key.key_sym)) 150 debug_print("running actions for {}".format(self.key.key_sym))
151 start_time = time.time() 151 start_time = time.time()
152 self.key.parent.start_running(self, start_time) 152 self.key.parent.start_running(self.key, start_time)
153 for self.key.current_action in self.key.actions: 153 for self.key.current_action in self.key.actions:
154 if self.key.parent.keep_running(self, start_time): 154 if self.key.parent.keep_running(self.key, start_time):
155 self.key.list_actions() 155 self.key.list_actions()
156 self.key.current_action.run(start_time) 156 self.key.current_action.run(start_time)
157 self.key.list_actions(last_action_finished=True) 157 self.key.list_actions(last_action_finished=True)
158 158
159 self.key.parent.finished_running(self, start_time) 159 self.key.parent.finished_running(self.key, start_time)
160 160
161 def on_enter_loaded_protecting_repeat(self, modifiers): 161 def on_enter_loaded_protecting_repeat(self, modifiers):
162 if self.key.repeat_delay > 0: 162 if self.key.repeat_delay > 0: