Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
5f101f4d
Commit
5f101f4d
authored
Aug 31, 2023
by
comfyanonymous
Browse files
Update litegraph with upstream: middle mouse dragging.
parent
2cd39801
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
web/lib/litegraph.core.js
web/lib/litegraph.core.js
+7
-1
No files found.
web/lib/litegraph.core.js
View file @
5f101f4d
...
...
@@ -6233,11 +6233,17 @@ LGraphNode.prototype.executeAction = function(action)
,
posAdd
:[
!
mClikSlot_isOut
?
-
30
:
30
,
-
alphaPosY
*
130
]
//-alphaPosY*30]
,
posSizeFix
:[
!
mClikSlot_isOut
?
-
1
:
0
,
0
]
//-alphaPosY*2*/
});
skip_action
=
true
;
}
}
}
}
if
(
!
skip_action
&&
this
.
allow_dragcanvas
)
{
//console.log("pointerevents: dragging_canvas start from middle button");
this
.
dragging_canvas
=
true
;
}
}
else
if
(
e
.
which
==
3
||
this
.
pointer_is_double
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment