Skip to content

Commit

Permalink
Convert KeyboardDragListener.dragBounds to dragBoundsProperty, phetsi…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Dec 16, 2021
1 parent 3c3c1ee commit 5290af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/alternative-input-quickstart-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ this.addChild( screenViewRootNode );
// pdom - dragging using the keyboard
const keyboardDragListener = new KeyboardDragListener( {
positionProperty: widget.positionProperty,
dragBounds: dragBoundsProperty.value,
dragBoundsProperty: dragBoundsProperty,
transform: modelViewTransform,
dragVelocity: 100, // velocity - change in position per second
shiftDragVelocity: 20 // finer-grained
Expand Down

0 comments on commit 5290af2

Please sign in to comment.