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 32c1cc7 commit c9f37cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/proportional/view/ProportionalDragHandle.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class ProportionalDragHandle extends Node {
shiftDragDelta: modelViewTransform.modelToViewDeltaX( area.snapSize ),
transform: modelViewTransform,
drag: ( event, listener ) => {
const delta = listener.vectorDelta;
const delta = listener.modelDelta;

let width = activeTotalProperties.horizontal.value;
let height = activeTotalProperties.vertical.value;
Expand Down

0 comments on commit c9f37cb

Please sign in to comment.