From fdf38ba58dfb90a25135b279f912d2c9d44bcc86 Mon Sep 17 00:00:00 2001 From: Marla Schulz Date: Thu, 23 Jun 2022 15:02:15 -0600 Subject: [PATCH] Condense predictMeanNode line touch area, see: https://github.com/phetsims/mean-share-and-balance/issues/40 --- js/intro/view/PredictMeanNode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/intro/view/PredictMeanNode.ts b/js/intro/view/PredictMeanNode.ts index 7fad0da7..0c6457c3 100644 --- a/js/intro/view/PredictMeanNode.ts +++ b/js/intro/view/PredictMeanNode.ts @@ -82,7 +82,7 @@ export default class PredictMeanNode extends AccessibleSlider( Node, 0 ) { private setPointerAreas(): void { this.predictMeanLine.mouseArea = this.predictMeanLine.localBounds.dilated( MeanShareAndBalanceConstants.MOUSE_DILATION ); - this.predictMeanLine.touchArea = this.predictMeanLine.localBounds.dilated( MeanShareAndBalanceConstants.TOUCH_DILATION ); + this.predictMeanLine.touchArea = this.predictMeanLine.mouseArea; this.predictMeanHandle.mouseArea = this.predictMeanHandle.localBounds.dilated( MeanShareAndBalanceConstants.MOUSE_DILATION ); this.predictMeanHandle.touchArea = this.predictMeanHandle.localBounds.dilated( MeanShareAndBalanceConstants.TOUCH_DILATION ); }