diff --git a/package-lock.json b/package-lock.json index f03870ed..bda8621c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "scale-workshop", - "version": "3.0.0-beta.11", + "version": "3.0.0-beta.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "scale-workshop", - "version": "3.0.0-beta.11", + "version": "3.0.0-beta.12", "dependencies": { "isomorphic-qwerty": "^0.0.2", "ji-lattice": "^0.0.3", @@ -14,7 +14,7 @@ "moment-of-symmetry": "^0.4.2", "pinia": "^2.1.7", "qs": "^6.12.0", - "sonic-weave": "github:xenharmonic-devs/sonic-weave#v0.0.12", + "sonic-weave": "github:xenharmonic-devs/sonic-weave#v0.0.14", "sw-synth": "^0.1.0", "temperaments": "^0.5.3", "vue": "^3.3.4", @@ -3182,20 +3182,6 @@ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", "dev": true }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", diff --git a/package.json b/package.json index 312fd1d4..8d0c8a34 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scale-workshop", - "version": "3.0.0-beta.11", + "version": "3.0.0-beta.12", "scripts": { "dev": "vite", "build": "run-p type-check \"build-only {@}\" --", @@ -21,7 +21,7 @@ "moment-of-symmetry": "^0.4.2", "pinia": "^2.1.7", "qs": "^6.12.0", - "sonic-weave": "github:xenharmonic-devs/sonic-weave#v0.0.12", + "sonic-weave": "github:xenharmonic-devs/sonic-weave#v0.0.14", "sw-synth": "^0.1.0", "temperaments": "^0.5.3", "vue": "^3.3.4", diff --git a/src/stores/scale.ts b/src/stores/scale.ts index 8ba87352..22051c6d 100644 --- a/src/stores/scale.ts +++ b/src/stores/scale.ts @@ -277,7 +277,7 @@ export const useScaleStore = defineStore('scale', () => { // Extra builtins function latticeView(this: ExpressionVisitor) { - const scale = this.getCurrentScale() + const scale = this.currentScale for (let i = 0; i < scale.length; ++i) { scale[i] = scale[i].shallowClone() // XXX: Abuses the fact that SonicWeave tracking ids are positive. @@ -362,7 +362,7 @@ export const useScaleStore = defineStore('scale', () => { } } - const intervals = visitor.getCurrentScale() + const intervals = visitor.currentScale const ev = visitor.createExpressionVisitor() const rel = relative.bind(ev) relativeIntervals.value = intervals.map((i) => rel(i))