复制粘贴节点
This commit is contained in:
1 parent
0c5d62157b
commit
f0b785a168
4 files changed
+64
-1
No files matched your search
@@ -117,6 +117,22 @@ export default class AppMenu {
|
||||
this.webContents.send(MainEventType.DELETE_NODE);
|
||||
}
|
||||
},
|
||||
{ type: 'separator' },
|
||||
{
|
||||
label: '复制节点',
|
||||
accelerator: 'ctrl+shift+c',
|
||||
role: 'copy',
|
||||
click: () => {
|
||||
this.webContents.send(MainEventType.COPY_NODE);
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '粘贴节点',
|
||||
accelerator: 'ctrl+shift+v',
|
||||
click: () => {
|
||||
this.webContents.send(MainEventType.PASTE_NODE);
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user