diff --git a/frontend/src/app/lightning/nodes-channels-map/nodes-channels-map.component.ts b/frontend/src/app/lightning/nodes-channels-map/nodes-channels-map.component.ts index 61f7afe85..c71ff88ad 100644 --- a/frontend/src/app/lightning/nodes-channels-map/nodes-channels-map.component.ts +++ b/frontend/src/app/lightning/nodes-channels-map/nodes-channels-map.component.ts @@ -112,13 +112,15 @@ export class NodesChannelsMap implements OnInit, OnDestroy { }, viewControl: { center: this.style === 'widget' ? [0, 0, -10] : undefined, - minDistance: this.style === 'widget' ? 22 : 0.1, - maxDistance: this.style === 'widget' ? 22 : 60, + minDistance: 1, + maxDistance: 60, distance: this.style === 'widget' ? 22 : 60, alpha: 90, - panMouseButton: 'left', + rotateSensitivity: 0, + panSensitivity: this.style === 'widget' ? 0 : 1, + zoomSensitivity: this.style === 'widget' ? 0 : 0.5, + panMouseButton: this.style === 'widget' ? null : 'left', rotateMouseButton: undefined, - zoomSensivity: 0.5, }, itemStyle: { color: 'white',