From 80759b73b705dd8543ed4b6a747cd7bbc8c1f2a5 Mon Sep 17 00:00:00 2001 From: Saurabh Totey Date: Mon, 1 Jul 2019 12:18:58 -0600 Subject: [PATCH] Expanded touch dilation areas for expand/collapse buttons See #201 --- js/buildanatom/view/BuildAnAtomView.js | 2 +- js/common/view/AtomView.js | 4 ++-- js/symbol/view/SymbolView.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js/buildanatom/view/BuildAnAtomView.js b/js/buildanatom/view/BuildAnAtomView.js index 5e9b086d..05ac77bb 100644 --- a/js/buildanatom/view/BuildAnAtomView.js +++ b/js/buildanatom/view/BuildAnAtomView.js @@ -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. diff --git a/js/common/view/AtomView.js b/js/common/view/AtomView.js index 4487ae2d..964cbf75 100644 --- a/js/common/view/AtomView.js +++ b/js/common/view/AtomView.js @@ -225,8 +225,8 @@ define( function( require ) { buttonAlign: 'right', expandedProperty: this.periodicTableAccordionBoxExpandedProperty, expandCollapseButtonOptions: { - touchAreaXDilation: 8, - touchAreaYDilation: 8 + touchAreaXDilation: 12, + touchAreaYDilation: 12 }, // phet-io diff --git a/js/symbol/view/SymbolView.js b/js/symbol/view/SymbolView.js index 9e8c5d48..023f1346 100644 --- a/js/symbol/view/SymbolView.js +++ b/js/symbol/view/SymbolView.js @@ -51,8 +51,8 @@ define( function( require ) { buttonAlign: 'right', expandedProperty: this.symbolAccordionBoxExpandedProperty, expandCollapseButtonOptions: { - touchAreaXDilation: 8, - touchAreaYDilation: 8 + touchAreaXDilation: 12, + touchAreaYDilation: 12 }, // phet-io