Browse Source

Disable zoom correction.

obersalzberg
Uwe Oestermeier 1 year ago
parent
commit
51dd0ef4ba
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/scatter.js

+ 1
- 1
lib/scatter.js View File

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

Loading…
Cancel
Save