Skip to content

Commit

Permalink
build: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnsgn committed Nov 22, 2024
1 parent 6e5c7bb commit 48d670c
Show file tree
Hide file tree
Showing 9 changed files with 1,722 additions and 1,205 deletions.
53 changes: 27 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,21 @@
"release": "snowdev release"
},
"dependencies": {
"pex-color": "^2.1.1",
"pex-color": "^2.2.0",
"pex-geom": "^3.0.2",
"pex-math": "^4.1.1"
},
"devDependencies": {
"es-module-shims": "1.10.0",
"es-module-shims": "1.10.1",
"pex-cam": "^3.0.0-alpha.1",
"pex-context": "^3.1.1",
"pex-context": "^3.1.2",
"pex-io": "^3.0.2",
"primitive-geometry": "^2.10.1"
},
"engines": {
"node": ">=22.0.0",
"npm": ">=10.5.1",
"snowdev": ">=2.2.x"
"snowdev": ">=2.3.x"
},
"snowdev": {
"files": "{*.js,*(renderers|shaders)/**/*.js}"
Expand Down
2 changes: 1 addition & 1 deletion renderers/CanvasRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ class CanvasRenderer {
ctx.strokeStyle = this.theme.color;
ctx.beginPath();
for (let j = 0; j < item.values.length; j++) {
const v = utils.map(item.values[j], item.min, item.max, 0, 1);
const v = utils.remap(item.values[j], item.min, item.max, 0, 1);
ctx[j === 0 ? "moveTo" : "lineTo"](
x + j,
y + height - v * (height - padding * 2) - padding,
Expand Down
Loading

0 comments on commit 48d670c

Please sign in to comment.