Skip to content

Commit

Permalink
Update usages of KeyboardListener and KeyboardDragListener after chan…
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Apr 25, 2024
1 parent 7741c05 commit 97f35f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/proportional/view/ProportionalDragHandle.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ class ProportionalDragHandle extends Node {
dragDelta: modelViewTransform.modelToViewDeltaX( area.snapSize ),
shiftDragDelta: modelViewTransform.modelToViewDeltaX( area.snapSize ),
transform: modelViewTransform,
drag: delta => {
drag: ( event, listener ) => {
const delta = listener.vectorDelta;

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

Expand Down

0 comments on commit 97f35f8

Please sign in to comment.