Skip to content

Commit

Permalink
remove duplicate bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarlow12 committed Dec 12, 2018
1 parent 71c88e9 commit f9bb084
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions js/view/ISLCRulerNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ define( function( require ) {
var maxX = model.rightObjectBoundary;
var maxY = -modelHeight / 2 + modelRulerHeight; // top bound because Y is inverted
var bounds = new Bounds2( minX, minY, maxX, maxY );
this.mouseArea = ruler.bounds;
this.touchArea = this.mouseArea;

this.addInputListener( new MovableDragHandler( model.rulerPositionProperty, {
dragBounds: bounds,
Expand Down

0 comments on commit f9bb084

Please sign in to comment.