context.scale(scale, scale);
}
- context.filLStyle = 'green';
- context.fillRect(0, 0, canvas.width, canvas.height);
+ context.fillStyle = 'white';
+ context.fillRect(0, 0, this.thumbEl.getWidth() / this.getScaleLevel(), this.thumbEl.getHeight() / this.getScaleLevel());
- // context.drawImage(imageCanvas, sx, sy, width, height, x, y, width, height);
+
+ context.drawImage(imageCanvas, sx, sy, width, height, x, y, width, height);
break;
case 90 :