We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99193e4 commit 9b276a6Copy full SHA for 9b276a6
src/components/NodeSearchBoxPopover.vue
@@ -72,7 +72,13 @@ const nodeSearchService = (
72
73
const canvasEventHandler = (e: LiteGraphCanvasEvent) => {
74
const shiftPressed = (e.detail.originalEvent as KeyboardEvent).shiftKey;
75
- if (e.detail.subType === "empty-release" && shiftPressed) {
+ // Ignore empty releases unless shift is pressed
76
+ // Empty release without shift is trigger right click menu
77
+ if (e.detail.subType === "empty-release" && !shiftPressed) {
78
+ return;
79
+ }
80
+
81
+ if (e.detail.subType === "empty-release") {
82
const destIsInput = e.detail.linkReleaseContext.node_from !== undefined;
83
const filter = destIsInput
84
? nodeSearchService.getFilterById("input")
0 commit comments