Skip to content

Commit

Permalink
use Delegate pattern to factor out code shared by dragListener and ke…
Browse files Browse the repository at this point in the history
…yboardDragListener, phetsims/scenery-phet#848
  • Loading branch information
pixelzoom committed Apr 19, 2024
1 parent 8640a1e commit 3c207b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions js/phase-changes/view/PhaseChangesScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,7 @@ class PhaseChangesScreenView extends ScreenView {
hoseCurviness: 1.5,
handleTouchAreaXDilation: 100,
handleTouchAreaYDilation: 100,
dragListenerOptions: {
numberOfParticlesPerPumpAction: 3
},
numberOfParticlesPerPumpAction: 3,
tandem: tandem.createTandem( 'pumpNode' )
}
);
Expand Down

0 comments on commit 3c207b6

Please sign in to comment.