Skip to content

Commit

Permalink
Use provided three.js canvas ID
Browse files Browse the repository at this point in the history
  • Loading branch information
TyLindberg committed Mar 28, 2019
1 parent 4f9ced7 commit 91817ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/JeelizThreejsHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ THREE.JeelizHelper=(function(){
if (spec.threejsCanvasId){
_isSeparateThreejsCanvas=true;
//set the threejs canvas size to the threejs canvas
threejsCanvas=document.getElementById('threejsCanvas');
threejsCanvas=document.getElementById(spec.threejsCanvasId);
threejsCanvas.setAttribute('width', _faceFilterCv.width);
threejsCanvas.setAttribute('height', _faceFilterCv.height);
} else {
Expand Down

0 comments on commit 91817ef

Please sign in to comment.