Skip to content

Commit

Permalink
Added massNode.backGround.fill = 'transparent' #278.
Browse files Browse the repository at this point in the history
  • Loading branch information
Denz1994 committed Jun 4, 2018
1 parent ef1f339 commit 647886b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/view/MassNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ define( function( require ) {
this.addChild( this.hookNode );

// Background added so all of svg elements are painted. See https://github.com/phetsims/masses-and-springs/issues/278
this.background = new Rectangle( this.bounds.dilated( 1.10 ), { pickable: false } );
this.background = new Rectangle( this.bounds.dilated( 1.10 ), { pickable: false, fill: 'transparent' } );
this.addChild( this.background );

if ( !mass.icon ) {
Expand Down

0 comments on commit 647886b

Please sign in to comment.