From 5c59a957ff7d93fe56c6ce713f5670f5bcf3451c Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Thu, 28 Nov 2024 01:04:43 +0100 Subject: [PATCH] Fix the fix --- common/webapp/src/js/controls/map/mouse/MouseAngleControls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/webapp/src/js/controls/map/mouse/MouseAngleControls.js b/common/webapp/src/js/controls/map/mouse/MouseAngleControls.js index 9508bcf3..aa683e6d 100644 --- a/common/webapp/src/js/controls/map/mouse/MouseAngleControls.js +++ b/common/webapp/src/js/controls/map/mouse/MouseAngleControls.js @@ -87,7 +87,7 @@ export class MouseAngleControls { this.manager.angle += this.deltaAngle * smoothing * this.speed * this.pixelToSpeedMultiplierY; - if (this.dynamicDistance && this.manager.distance > this.manager.controls.minDistance) { + if (this.dynamicDistance) { let targetDistance = this.startDistance targetDistance = Math.min(targetDistance, MapControls.getMaxDistanceForPerspectiveAngle(this.manager.angle)); targetDistance = Math.max(targetDistance, this.manager.controls.minDistance);