Fix UX interaction with channels map
This commit is contained in:
parent
6ba8b0ec58
commit
04d7265a86
@ -112,13 +112,15 @@ export class NodesChannelsMap implements OnInit, OnDestroy {
|
|||||||
},
|
},
|
||||||
viewControl: {
|
viewControl: {
|
||||||
center: this.style === 'widget' ? [0, 0, -10] : undefined,
|
center: this.style === 'widget' ? [0, 0, -10] : undefined,
|
||||||
minDistance: this.style === 'widget' ? 22 : 0.1,
|
minDistance: 1,
|
||||||
maxDistance: this.style === 'widget' ? 22 : 60,
|
maxDistance: 60,
|
||||||
distance: this.style === 'widget' ? 22 : 60,
|
distance: this.style === 'widget' ? 22 : 60,
|
||||||
alpha: 90,
|
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,
|
rotateMouseButton: undefined,
|
||||||
zoomSensivity: 0.5,
|
|
||||||
},
|
},
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
color: 'white',
|
color: 'white',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user