Skip to content

Commit

Permalink
wrenchDragAndDropHandler => wrenchDragListener, see #147
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed May 14, 2020
1 parent 98da502 commit 7cc75a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/wave-on-a-string/view/StartNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class StartNode extends Node {

let clickOffset = new Vector2( 0, 0 );
wrench.addInputListener( new DragListener( {
tandem: options.tandem.createTandem( 'wrenchDragAndDropHandler' ),
tandem: options.tandem.createTandem( 'wrenchDragListener' ),
start: event => {
clickOffset = wrench.globalToParentPoint( event.pointer.point ).minus( event.currentTarget.translation );

Expand Down

0 comments on commit 7cc75a3

Please sign in to comment.