We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0970a40 + 9b92f5b commit ecbde50Copy full SHA for ecbde50
1 file changed
src/litegraph.js
@@ -7003,15 +7003,15 @@ LGraphNode.prototype.executeAction = function(action)
7003
block_default = true;
7004
}
7005
7006
- if (e.code == "KeyC" && (e.metaKey || e.ctrlKey) && !e.shiftKey) {
+ if ((e.keyCode === 67) && (e.metaKey || e.ctrlKey) && !e.shiftKey) {
7007
//copy
7008
if (this.selected_nodes) {
7009
this.copyToClipboard();
7010
7011
7012
7013
7014
- if (e.code == "KeyV" && (e.metaKey || e.ctrlKey)) {
+ if ((e.keyCode === 86) && (e.metaKey || e.ctrlKey)) {
7015
//paste
7016
this.pasteFromClipboard(e.shiftKey);
7017
0 commit comments