Skip to content

Commit 0fe1414

Browse files
committed
handle typed arrays in transform - fix rendering of point-selection case
1 parent 1300c2a commit 0fe1414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ lib.getTargetArray = function(trace, transformOpts) {
685685

686686
if(typeof target === 'string' && target) {
687687
var array = lib.nestedProperty(trace, target).get();
688-
return Array.isArray(array) ? array : false;
688+
return lib.isArrayOrTypedArray(array) ? array : false;
689689
} else if(Array.isArray(target)) {
690690
return target;
691691
}

0 commit comments

Comments
 (0)