diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-07-21 23:25:09 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-07-21 23:35:58 +0200 |
commit | 513226699e5cb5776bd71ee6bb2ada87a43c4dee (patch) | |
tree | 52939eedb5d4b9f8a81830f17f6cbc6227c77802 /helpers/action.py | |
parent | 940ccd88e7757e9bbb43288ed53a4ec4804bfbe8 (diff) | |
download | MusicSampler-513226699e5cb5776bd71ee6bb2ada87a43c4dee.tar.gz MusicSampler-513226699e5cb5776bd71ee6bb2ada87a43c4dee.tar.zst MusicSampler-513226699e5cb5776bd71ee6bb2ada87a43c4dee.zip |
Fix master volume fade
Diffstat (limited to 'helpers/action.py')
-rw-r--r-- | helpers/action.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/helpers/action.py b/helpers/action.py index 247e0a9..eaa419b 100644 --- a/helpers/action.py +++ b/helpers/action.py | |||
@@ -95,6 +95,8 @@ class Action: | |||
95 | if previous is not None: | 95 | if previous is not None: |
96 | previous.stop(fade_out=fade_out) | 96 | previous.stop(fade_out=fade_out) |
97 | previous = music | 97 | previous = music |
98 | else: | ||
99 | music.stop(fade_out=fade_out) | ||
98 | 100 | ||
99 | if previous is not None: | 101 | if previous is not None: |
100 | previous.stop(fade_out=fade_out, wait=wait) | 102 | previous.stop(fade_out=fade_out, wait=wait) |