var height = Math.ceil(this.imageEl.OriginHeight * this.getScaleLevel() / minScale);
console.log("ZOOM");
- console.log("WIDTH: " + width);
- console.log("HEIGHT: " + height);
+ console.log("WIDTH: " + (this.thumbEl.getWidth() / this.getScaleLevel()));
+ console.log("HEIGHT: " + (this.thumbEl.getHeight() / this.getScaleLevel()));
var maxWidth = this.imageEl.OriginWidth;
console.log("CANVAS WIDTH: " + canvas.width);
console.log("CANVAS HEIGHT: " + canvas.height);
- console.log("GETSCALELEVLE: " + this.getScaleLevel());
+ console.log("SCALELEVLE: " + scaleLevel);
switch (this.rotate) {
case 0 :