this.startScale = this.scale;
this.scale = (e.getWheelDelta() == 1) ? (this.scale + 1) : (this.scale - 1);
- console.log("START SCALE:" . startScale);
- console.log("TEST SCALE: " . startScale);
+ console.log("START SCALE:" . this.startScale);
+ console.log("TEST SCALE: " . this.startScale);
if(!this.zoomable()){
this.scale = this.startScale;
return;
}
- console.log("END SCALE: " . endScale);
+ console.log("END SCALE: " . this.Scale);
this.draw();