@symbo.ls/scratch
Advanced tools
Comparing version 0.3.12 to 0.3.13
@@ -5,3 +5,3 @@ { | ||
"author": "Symbols", | ||
"version": "0.3.12", | ||
"version": "0.3.13", | ||
"files": [ | ||
@@ -8,0 +8,0 @@ "src" |
@@ -285,3 +285,3 @@ 'use strict' | ||
export const generateSubSequence = ({ key, base, value, ratio, variable, state }) => { | ||
export const generateSubSequence = ({ key, base, value, ratio, variable, state, index }) => { | ||
const next = value * ratio | ||
@@ -307,3 +307,3 @@ const smallscale = (next - value) / ratio | ||
return setSequenceValue({ key: key + (k + 1), variable: newVar, value: v, scaling, state }) | ||
return setSequenceValue({ key: key + (k + 1), variable: newVar, value: v, scaling, state, index: index + (k + 1) / 10 }) | ||
}) | ||
@@ -324,3 +324,3 @@ } | ||
if (subSequence) generateSubSequence({ key: letterKey, base, value, ratio, variable, state }) | ||
if (subSequence) generateSubSequence({ key: letterKey, base, value, ratio, variable, state, index: key }) | ||
} | ||
@@ -327,0 +327,0 @@ return state |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27064