aboutsummaryrefslogtreecommitdiffhomepage
path: root/desktop
diff options
context:
space:
mode:
authorneauoire <[email protected]>2019-11-22 14:38:24 -0500
committerneauoire <[email protected]>2019-11-22 14:38:24 -0500
commitfe1803bc4e6ea476a0ad55cb3c539c7cc3053fcd (patch)
treeef35a205dcd5478f0410b283730103cfdf0da03b /desktop
parent1c1fcd28c565461debc39eeabd4a917476ff8361 (diff)
downloadOrca-fe1803bc4e6ea476a0ad55cb3c539c7cc3053fcd.tar.gz
Orca-fe1803bc4e6ea476a0ad55cb3c539c7cc3053fcd.zip
Fixed issue with midi length
Diffstat (limited to 'desktop')
-rw-r--r--desktop/sources/scripts/client.js2
-rw-r--r--desktop/sources/scripts/core/library.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/desktop/sources/scripts/client.js b/desktop/sources/scripts/client.js
index b9cccba..2ee01c1 100644
--- a/desktop/sources/scripts/client.js
+++ b/desktop/sources/scripts/client.js
@@ -472,7 +472,7 @@ function Client () {
}
})
- window.onresize = (event) => {
+ window.onresize = (e) => {
this.resize()
}
diff --git a/desktop/sources/scripts/core/library.js b/desktop/sources/scripts/core/library.js
index e4906bb..7e91a0a 100644
--- a/desktop/sources/scripts/core/library.js
+++ b/desktop/sources/scripts/core/library.js
@@ -546,7 +546,7 @@ library[':'] = function OperatorMidi (orca, x, y, passive) {
this.ports.octave = { x: 2, y: 0, clamp: { min: 0, max: 8 } }
this.ports.note = { x: 3, y: 0 }
this.ports.velocity = { x: 4, y: 0, default: 'f', clamp: { min: 0, max: 16 } }
- this.ports.length = { x: 5, y: 0, default: '1', clamp: { min: 0, max: 16 } }
+ this.ports.length = { x: 5, y: 0, default: '1', clamp: { min: 0, max: 32 } }
this.operation = function (force = false) {
if (!this.hasNeighbor('*') && force === false) { return }
@@ -641,7 +641,7 @@ library['%'] = function OperatorMono (orca, x, y, passive) {
this.ports.octave = { x: 2, y: 0, clamp: { min: 0, max: 8 } }
this.ports.note = { x: 3, y: 0 }
this.ports.velocity = { x: 4, y: 0, default: 'f', clamp: { min: 0, max: 16 } }
- this.ports.length = { x: 5, y: 0, default: '1', clamp: { min: 0, max: 16 } }
+ this.ports.length = { x: 5, y: 0, default: '1', clamp: { min: 0, max: 32 } }
this.operation = function (force = false) {
if (!this.hasNeighbor('*') && force === false) { return }