diff --git a/js/ThreeNode.js b/js/ThreeNode.js index 3bd1072..6455f2c 100644 --- a/js/ThreeNode.js +++ b/js/ThreeNode.js @@ -65,7 +65,7 @@ define( require => { preventTransform: true, // Scenery override for transformation pickable: false } ); - this.domNode.calculateDOMBounds = () => { return new Bounds2( 0, 0, 0, 0 ); }; + this.domNode.calculateDOMBounds = () => new Bounds2( 0, 0, 0, 0 ); this.domNode.invalidateDOM(); const forceAcceleration = false;