增加工具栏提示。

This commit is contained in:
dengqichen 2024-12-13 12:11:12 +08:00
parent 71b9507c51
commit fab609fdbb

View File

@ -43,6 +43,18 @@ const WorkflowDesign: React.FC = () => {
background: { background: {
color: '#f5f5f5', color: '#f5f5f5',
}, },
mousewheel: {
enabled: true,
modifiers: ['ctrl', 'meta'],
factor: 1.1,
maxScale: 1.5,
minScale: 0.5,
},
panning: {
enabled: true,
eventTypes: ['rightMouseDown'],
},
preventDefaultContextMenu: true,
}); });
// 显示/隐藏连接桩 // 显示/隐藏连接桩