Skip to content

Commit

Permalink
MassNode.background.bounds dilated a bit more. #278.
Browse files Browse the repository at this point in the history
  • Loading branch information
Denz1994 committed Jun 4, 2018
1 parent 647886b commit 98817ea
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, fill: 'transparent' } );
this.background = new Rectangle( this.bounds.dilated( 1.25 ), { pickable: false, fill: 'transparent' } );
this.addChild( this.background );

if ( !mass.icon ) {
Expand Down

0 comments on commit 98817ea

Please sign in to comment.