From 6256d42d9f67db51db01e292e26f3c3015d2b3b2 Mon Sep 17 00:00:00 2001 From: Michael Kauzmann Date: Fri, 3 Mar 2023 11:12:36 -0700 Subject: [PATCH] add mapping support to KeyboardDragListener, https://github.com/phetsims/my-solar-system/issues/86 --- js/view/BodyNode.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/view/BodyNode.ts b/js/view/BodyNode.ts index b4e7c57..c2b14a5 100644 --- a/js/view/BodyNode.ts +++ b/js/view/BodyNode.ts @@ -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;