aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--desktop/sources/scripts/client.js2
-rw-r--r--desktop/sources/scripts/core/library.js2
-rw-r--r--sw.js2
3 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 5a1b6f2..1889062 100644
--- a/desktop/sources/scripts/core/library.js
+++ b/desktop/sources/scripts/core/library.js
@@ -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)
}
}
diff --git a/sw.js b/sw.js
index fce7339..56d6cd1 100644
--- a/sw.js
+++ b/sw.js
@@ -1,4 +1,4 @@
-// 165
+// 166
const assets = [
'./',