We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f66633 commit 5c59a95Copy full SHA for 5c59a95
common/webapp/src/js/controls/map/mouse/MouseAngleControls.js
@@ -87,7 +87,7 @@ export class MouseAngleControls {
87
88
this.manager.angle += this.deltaAngle * smoothing * this.speed * this.pixelToSpeedMultiplierY;
89
90
- if (this.dynamicDistance && this.manager.distance > this.manager.controls.minDistance) {
+ if (this.dynamicDistance) {
91
let targetDistance = this.startDistance
92
targetDistance = Math.min(targetDistance, MapControls.getMaxDistanceForPerspectiveAngle(this.manager.angle));
93
targetDistance = Math.max(targetDistance, this.manager.controls.minDistance);
0 commit comments