]> git.immae.eu Git - perso/Immae/Projets/Python/MusicSampler.git/blobdiff - helpers/actions/stop_all_actions.py
Rename helpers to music_sampler
[perso/Immae/Projets/Python/MusicSampler.git] / helpers / actions / stop_all_actions.py
diff --git a/helpers/actions/stop_all_actions.py b/helpers/actions/stop_all_actions.py
deleted file mode 100644 (file)
index 4ea875a..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-def run(action, key_start_time=0, other_only=False, **kwargs):
-    if other_only:
-        action.mapping.stop_all_running(
-                except_key=action.key,
-                key_start_time=key_start_time)
-    else:
-        action.mapping.stop_all_running()
-
-def description(action, other_only=False, **kwargs):
-    message = "stopping all actions"
-    if other_only:
-        message += " except this key"
-
-    return message