Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Apr 29, 2020
1 parent 5f68647 commit 5872d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/shadertools/src/modules/picking/picking.js
Expand Up @@ -20,7 +20,7 @@ function getUniforms(opts = DEFAULT_MODULE_OPTIONS) {
}
}
if (opts.pickingHighlightColor) {
const color = opts.pickingHighlightColor.map(x => x / 255);
const color = Array.from(opts.pickingHighlightColor, x => x / 255);
if (!Number.isFinite(color[3])) {
color[3] = 1;
}
Expand Down

0 comments on commit 5872d67

Please sign in to comment.