Permalink
Browse files

use default crop size

  • Loading branch information...
caleb committed Jul 22, 2014
1 parent 933e975 commit 7979bcb929d184693fd3114408b1510157bf4780
Showing with 5 additions and 5 deletions.
  1. +2 −2 lib/crop-box.coffee
  2. +2 −2 rodeo-crop.js
  3. +1 −1 rodeo-crop.min.js
View
@@ -18,8 +18,8 @@ class CropBox extends drawing.Drawable
@cropX = options.cropX || 0
@cropY = options.cropY || 0
- @cropWidth = options.cropWidth || @handleSize * 4
- @cropHeight = options.cropHeight || @handleSize * 4
+ @cropWidth = options.cropWidth
+ @cropHeight = options.cropHeight
@marchingAnts = options.marchingAnts || true
View
@@ -727,8 +727,8 @@ define("canvas-image",
});
this.cropX = options.cropX || 0;
this.cropY = options.cropY || 0;
- this.cropWidth = options.cropWidth || this.handleSize * 4;
- this.cropHeight = options.cropHeight || this.handleSize * 4;
+ this.cropWidth = options.cropWidth;
+ this.cropHeight = options.cropHeight;
this.marchingAnts = options.marchingAnts || true;
this.dashOffset = 0;
this.dragging = null;
Oops, something went wrong.

0 comments on commit 7979bcb

Please sign in to comment.