MCPcopy Index your code
hub / github.com/NikLever/ThreeJS-PathEditor / resize

Method resize

index.js:590–594  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

588 }
589
590 resize(){
591 this.canvas.width = window.innerWidth;
592 this.canvas.height = window.innerHeight;
593 this.render();
594 }
595
596 render(save = false){
597 this.graph.render( this.nodes, this.activeNode, this.activeCtrl, this.ghosts.paths );

Callers 1

constructorMethod · 0.95

Calls 1

renderMethod · 0.95

Tested by

no test coverage detected