Skip to content

Commit

Permalink
Expanded touch dilation areas for expand/collapse buttons
Browse files Browse the repository at this point in the history
See #201
  • Loading branch information
Saurabh Totey authored and Saurabh Totey committed Jul 1, 2019
1 parent 0a240b1 commit 80759b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion js/buildanatom/view/BuildAnAtomView.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ define( function( require ) {

// constants
var INTER_BOX_SPACING = 7;
var ACCORDION_BOX_BUTTON_DILATION = 8;
var ACCORDION_BOX_BUTTON_DILATION = 12;

/**
* Constructor.
Expand Down
4 changes: 2 additions & 2 deletions js/common/view/AtomView.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ define( function( require ) {
buttonAlign: 'right',
expandedProperty: this.periodicTableAccordionBoxExpandedProperty,
expandCollapseButtonOptions: {
touchAreaXDilation: 8,
touchAreaYDilation: 8
touchAreaXDilation: 12,
touchAreaYDilation: 12
},

// phet-io
Expand Down
4 changes: 2 additions & 2 deletions js/symbol/view/SymbolView.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ define( function( require ) {
buttonAlign: 'right',
expandedProperty: this.symbolAccordionBoxExpandedProperty,
expandCollapseButtonOptions: {
touchAreaXDilation: 8,
touchAreaYDilation: 8
touchAreaXDilation: 12,
touchAreaYDilation: 12
},

// phet-io
Expand Down

0 comments on commit 80759b7

Please sign in to comment.