Skip to content

Commit

Permalink
cleanup and doc, #1014
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Dec 13, 2019
1 parent 9e095e0 commit baab15c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/listeners/DragListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,12 @@ define( require => {
applyOffset: true,

// {boolean} - If set to true, then any offsets applied will be handled in the parent coordinate space using the
// locationProperty as the "ground truth", instead of looking at the node's actual location and transform. This
// locationProperty as the "ground truth", instead of looking at the Node's actual location and transform. This
// is useful if the location/transform cannot be applied directly to a single Node (e.g. positioning multiple
// independent nodes, or centering things instead of transforming based on the origin of the Node).
//
// NOTE: Use this option most likely if converting from MoveableDragHandler, because it transformed based in
// the parent's coordinate frame. See https://github.com/phetsims/scenery/issues/1014
useParentOffset: false,

// {boolean} - If true, ancestor transforms will be watched. If they change, it will trigger a repositioning,
Expand Down

0 comments on commit baab15c

Please sign in to comment.