Disable zoom correction.

This commit is contained in:
Uwe Oestermeier 2019-07-19 15:25:47 +02:00
parent dcd5acb4d1
commit 51dd0ef4ba

View File

@ -393,7 +393,7 @@ export class AbstractScatter extends Throwable {
if (delta.distance < this.minInteractionDistance) { if (delta.distance < this.minInteractionDistance) {
let ratio = delta.distance / this.minInteractionDistance let ratio = delta.distance / this.minInteractionDistance
rotate *= ratio rotate *= ratio
zoom *= ratio //zoom *= ratio
} }
this.transform(delta, zoom, rotate, delta.about) this.transform(delta, zoom, rotate, delta.about)