var x = (this.thumbEl.getLeft(true) > this.previewEl.getLeft(true)) ? 0 : (this.thumbEl.getLeft(true) - this.previewEl.getLeft(true));
var y = (this.thumbEl.getTop(true) > this.previewEl.getTop(true)) ? 0 : (this.thumbEl.getTop(true) - this.previewEl.getTop(true));
- var scaleWidth = (width > this.minWidth) ? (this.minWidth / width) : 1;
- var scaleHeight = (height > this.minHeight) ? (this.minHeight / height) : 1;
+ if()
+// var scaleWidth = (width > this.minWidth) ? (this.minWidth / width) : 1;
+// var scaleHeight = (height > this.minHeight) ? (this.minHeight / height) : 1;
//
// Roo.log([scaleWidth, scaleHeight]);
// Roo.log([scaleWidth, scaleHeight]);
// if(!this.isDocument){
- context.scale(scaleWidth, scaleHeight);
+// context.scale(scaleWidth, scaleHeight);
// }