mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-12-01 15:03:24 +01:00
Fix the fix
This commit is contained in:
parent
4f666337b0
commit
5c59a957ff
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user