From ba1cfe6fc26f213261bdae927f595bdedd0bc2e6 Mon Sep 17 00:00:00 2001 From: chrisklus Date: Wed, 24 Apr 2019 18:12:24 -0600 Subject: [PATCH] Pass options to superclass in order to instrument graph values node, see https://github.com/phetsims/blackbody-spectrum/issues/83 --- js/blackbody-spectrum/view/GraphValuesPointNode.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/blackbody-spectrum/view/GraphValuesPointNode.js b/js/blackbody-spectrum/view/GraphValuesPointNode.js index b539d3b..b965cf0 100644 --- a/js/blackbody-spectrum/view/GraphValuesPointNode.js +++ b/js/blackbody-spectrum/view/GraphValuesPointNode.js @@ -41,8 +41,6 @@ define( function( require ) { function GraphValuesPointNode( body, axes, options ) { var self = this; - Node.call( this, { cursor: 'ew-resize' } ); - options = _.extend( { circleOptions: { radius: 5, @@ -65,10 +63,12 @@ define( function( require ) { tailWidth: 7 }, labelOffset: 5, - + cursor: 'ew-resize', tandem: Tandem.required }, options ); + Node.call( this, options ); + // @private this.body = body; this.axes = axes;