Skip to content

Commit

Permalink
add support for pointer area dilation to ZoomButtonGroup, #192
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Sep 1, 2020
1 parent d30e7cc commit 1fdaceb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/common/view/population/PopulationGraphNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ class PopulationGraphNode extends Node {
orientation: 'vertical',
zoomLevelMin: populationModel.yZoomLevelProperty.range.min,
zoomLevelMax: populationModel.yZoomLevelProperty.range.max,
touchAreaXDilation: 7,
touchAreaYDilation: 4,
left: boundsRectangle.left,
top: boundsRectangle.top,
tandem: options.tandem.createTandem( 'yZoomButtonGroup' ),
Expand Down

0 comments on commit 1fdaceb

Please sign in to comment.