diff options
author | Devine Lu Linvega <[email protected]> | 2019-06-01 12:35:09 +0900 |
---|---|---|
committer | Devine Lu Linvega <[email protected]> | 2019-06-01 12:35:09 +0900 |
commit | 0cf2ba765624498b737229a146cebd2faf780c3f (patch) | |
tree | 67a1e7ea2d5419c31ed980d1bd0c54f3032297e4 | |
parent | 221e94afd3c3b3cbdfd92d599ff51f462efc5b9c (diff) | |
download | Orca-0cf2ba765624498b737229a146cebd2faf780c3f.tar.gz Orca-0cf2ba765624498b737229a146cebd2faf780c3f.zip |
Fixed issue with midi/mono length
-rw-r--r-- | desktop/core/io/midi.js | 2 | ||||
-rw-r--r-- | desktop/core/io/mono.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/core/io/midi.js b/desktop/core/io/midi.js index dc3fee8..41f501c 100644 --- a/desktop/core/io/midi.js +++ b/desktop/core/io/midi.js @@ -28,7 +28,7 @@ export default function Midi (terminal) { if (this.stack[id].isPlayed === false) { this.press(this.stack[id]) } - if (this.stack[id].length <= 1) { + if (this.stack[id].length < 1) { this.release(this.stack[id]) } if (this.stack[id]) { diff --git a/desktop/core/io/mono.js b/desktop/core/io/mono.js index 7b3d27e..b59c12d 100644 --- a/desktop/core/io/mono.js +++ b/desktop/core/io/mono.js @@ -16,7 +16,7 @@ export default function Mono (terminal) { if (this.stack[id].isPlayed === false) { this.press(this.stack[id]) } - if (this.stack[id].length <= 1) { + if (this.stack[id].length < 1) { this.release(this.stack[id]) } if (this.stack[id]) { |