Skip to content

Commit

Permalink
add mapping support to KeyboardDragListener, phetsims/my-solar-system#86
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Mar 3, 2023
1 parent 6b8965e commit 6256d42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/view/BodyNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ export default class BodyNode extends ShadedSphereNode {
dragDelta: 8,
shiftDragDelta: 2.5,
start: start,
end: end
end: end,
mapPosition: map
} );
modelViewTransformProperty.link( modelViewTransform => {
keyboardDragListener.transform = modelViewTransform;
Expand Down

0 comments on commit 6256d42

Please sign in to comment.