From 3c207b60f6a59bed4071ed552dddf7aefc158deb Mon Sep 17 00:00:00 2001 From: pixelzoom Date: Fri, 19 Apr 2024 17:40:24 -0600 Subject: [PATCH] use Delegate pattern to factor out code shared by dragListener and keyboardDragListener, https://github.com/phetsims/scenery-phet/issues/848 --- js/phase-changes/view/PhaseChangesScreenView.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/phase-changes/view/PhaseChangesScreenView.js b/js/phase-changes/view/PhaseChangesScreenView.js index 98190f77..bd3c7696 100644 --- a/js/phase-changes/view/PhaseChangesScreenView.js +++ b/js/phase-changes/view/PhaseChangesScreenView.js @@ -206,9 +206,7 @@ class PhaseChangesScreenView extends ScreenView { hoseCurviness: 1.5, handleTouchAreaXDilation: 100, handleTouchAreaYDilation: 100, - dragListenerOptions: { - numberOfParticlesPerPumpAction: 3 - }, + numberOfParticlesPerPumpAction: 3, tandem: tandem.createTandem( 'pumpNode' ) } );