Skip to content

Commit

Permalink
cleanup tandem, phetsims/phet-io#1143
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jun 10, 2017
1 parent ba42b77 commit adeba66
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/Dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ define( function( require ) {
lineWidth: 3
} );

var closeButtonTandem = options.tandem.createTandem( 'closeButton' );
var closeButton = new RectangularPushButton( {
content: crossNode,
baseColor: options.closeButtonBaseColor,
Expand All @@ -129,7 +128,7 @@ define( function( require ) {
accessibleFire: function() {
self.focusActiveElement();
},
tandem: closeButtonTandem,
tandem: options.tandem.createTandem( 'closeButton' ),

// a11y options
tagName: 'button',
Expand Down

0 comments on commit adeba66

Please sign in to comment.