aboutsummaryrefslogtreecommitdiffhomepage
path: root/desktop
diff options
context:
space:
mode:
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 b8f673a..b98bfe0 100644
--- a/desktop/sources/scripts/client.js
+++ b/desktop/sources/scripts/client.js
@@ -12,7 +12,7 @@
/* global Theme */
function Client () {
- this.version = 165
+ this.version = 166
this.library = library
this.theme = new Theme(this)
diff --git a/desktop/sources/scripts/core/library.js b/desktop/sources/scripts/core/library.js
index 4b092d1..1889062 100644
--- a/desktop/sources/scripts/core/library.js
+++ b/desktop/sources/scripts/core/library.js
@@ -26,7 +26,7 @@ library.b = function OperatorL (orca, x, y, passive) {
Operator.call(this, orca, x, y, 'b', passive)
this.name = 'between'
- this.info = 'Outputs the absolute value of the subtraction between the inputs'
+ this.info = 'Outputs subtraction of inputs'
this.ports.a = { x: -1, y: 0 }
this.ports.b = { x: 1, y: 0 }
@@ -52,7 +52,7 @@ library.c = function OperatorC (orca, x, y, passive) {
this.operation = function (force = false) {
const rate = this.listen(this.ports.rate, true)
const mod = this.listen(this.ports.mod, true)
- const val = orca.f % (mod * rate)
+ const val = Math.floor(orca.f / rate) % mod
return orca.keyOf(val)
}
}