Roo.log("old canvas width: " + this.canvasEl.width);
Roo.log("old canvas height: " + this.canvasEl.height);
- Roo.log("scale level: " + (newCanvasHeight * this.minWidth / this.minHeight - newCanvasWidth) / 2);
+ Roo.log("scale level: " + (newCanvasHeight * this.minWidth / this.minHeight - newCanvasWidth) / 2 + maxPaddingTop);
Roo.log("new canvas width: " + newCanvasWidth);
Roo.log("new canvas height: " + newCanvasHeight);