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 ade4b47 commit 4dcef23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/friction/view/FrictionKeyboardDragListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @author Michael Kauzmann (PhET Interactive Simulations)
*/

import Property from '../../../../axon/js/Property.js';
import { KeyboardDragListener } from '../../../../scenery/js/imports.js';
import friction from '../../friction.js';
import FrictionModel from '../model/FrictionModel.js';
Expand All @@ -32,7 +33,7 @@ class FrictionKeyboardDragListener extends KeyboardDragListener {
bookMovementAlerter.endDrag( event.domEvent );

},
dragBounds: FrictionModel.MAGNIFIED_DRAG_BOUNDS
dragBoundsProperty: new Property( FrictionModel.MAGNIFIED_DRAG_BOUNDS )
} );
}
}
Expand Down

0 comments on commit 4dcef23

Please sign in to comment.