Skip to content

Commit

Permalink
Remove extra padding for the offset of the resetAllButton positioning…
Browse files Browse the repository at this point in the history
… under the collectionPanel. #126
  • Loading branch information
Denz1994 committed Nov 24, 2019
1 parent dd00c5c commit e4c69d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/view/MoleculeCollectingView.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ define( require => {
) );
this.resetAllButton.setCenter( new Vector2(
collectionPanel.centerX,
collectionPanel.bottom + BAMConstants.RESET_BUTTON_RADIUS + BAMConstants.VIEW_PADDING / 2,
collectionPanel.bottom + BAMConstants.RESET_BUTTON_RADIUS + BAMConstants.VIEW_PADDING,
) );
this.addChild( collectionPanel );
collectionPanel.moveToBack();
Expand Down

0 comments on commit e4c69d6

Please sign in to comment.