Skip to content

Commit

Permalink
Rename vectorDelta to modelDelta and other KeyboardDragListener impro…
Browse files Browse the repository at this point in the history
…vements, see phetsims/scenery#1635
  • Loading branch information
jessegreenberg committed Jun 3, 2024
1 parent 5255f39 commit e316439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/view/graph/GraphIndicatorKeyboardDragListener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default class GraphIndicatorKeyboardDragListener extends KeyboardDragList
tandem: Tandem ) {
super( {
keyboardDragDirection: 'upDown', // constrained to vertical dragging
drag: ( event, listener ) => GraphIndicatorDragListener.doDrag( graphIndicatorNode.y + listener.vectorDelta.y, graphIndicatorNode, pHProperty,
drag: ( event, listener ) => GraphIndicatorDragListener.doDrag( graphIndicatorNode.y + listener.modelDelta.y, graphIndicatorNode, pHProperty,
totalVolumeProperty.value, graphUnitsProperty.value, yToValue, concentrationToPH, molesToPH ),

// Drag speed, in view coordinates per second.
Expand Down

0 comments on commit e316439

Please sign in to comment.