Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarcos committed Nov 2, 2023
1 parent f7efe91 commit 25159b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/hand-tracking-controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ module.exports.Component = registerComponent('hand-tracking-controls', {
this.skinnedMesh.material.color.set(this.data.modelColor);
}

for (var i = 0; i < jointEls.lenght; i++) {
for (var i = 0; i < jointEls.length; i++) {
jointEls[i].setAttribute('material', 'color', this.data.modelColor);
}
},
Expand Down

0 comments on commit 25159b1

Please sign in to comment.