Skip to content

Commit 5c59a95

Browse files
committed
Fix the fix
1 parent 4f66633 commit 5c59a95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/webapp/src/js/controls/map/mouse/MouseAngleControls.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export class MouseAngleControls {
8787

8888
this.manager.angle += this.deltaAngle * smoothing * this.speed * this.pixelToSpeedMultiplierY;
8989

90-
if (this.dynamicDistance && this.manager.distance > this.manager.controls.minDistance) {
90+
if (this.dynamicDistance) {
9191
let targetDistance = this.startDistance
9292
targetDistance = Math.min(targetDistance, MapControls.getMaxDistanceForPerspectiveAngle(this.manager.angle));
9393
targetDistance = Math.max(targetDistance, this.manager.controls.minDistance);

0 commit comments

Comments
 (0)