Closed pixelzoom closed 7 months ago
Related to https://github.com/phetsims/graphing-lines/issues/153, uses of NumberPicker and subclass CoordinatePicker.
BackgroundNode needs to implement dispose to unlink this:
unlink
node.boundsProperty.link( bounds => { if ( !bounds.isEmpty() ) { this.background.setRect( 0, 0, node.width + 2 * options.xMargin, node.height + 2 * options.yMargin ); wrapperNode.center = this.background.center; } } );
Cherry picked to graphing-lines and graphing-slope-intercept for https://github.com/phetsims/graphing-lines/issues/153.
Closing.
Related to https://github.com/phetsims/graphing-lines/issues/153, uses of NumberPicker and subclass CoordinatePicker.
BackgroundNode needs to implement dispose to
unlink
this: