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
4cea9aec
"doc/git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "c9561e90e4db6cd38aed75065b08359c4e13e74d"
Commit
4cea9aec
authored
Apr 29, 2023
by
comfyanonymous
Browse files
Make nodes easier to resize.
parent
c66db067
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
web/lib/litegraph.core.js
web/lib/litegraph.core.js
+8
-8
No files found.
web/lib/litegraph.core.js
View file @
4cea9aec
...
@@ -5880,10 +5880,10 @@ LGraphNode.prototype.executeAction = function(action)
...
@@ -5880,10 +5880,10 @@ LGraphNode.prototype.executeAction = function(action)
node
.
resizable
!==
false
&&
node
.
resizable
!==
false
&&
isInsideRectangle
(
e
.
canvasX
,
isInsideRectangle
(
e
.
canvasX
,
e
.
canvasY
,
e
.
canvasY
,
node
.
pos
[
0
]
+
node
.
size
[
0
]
-
5
,
node
.
pos
[
0
]
+
node
.
size
[
0
]
-
1
5
,
node
.
pos
[
1
]
+
node
.
size
[
1
]
-
5
,
node
.
pos
[
1
]
+
node
.
size
[
1
]
-
1
5
,
1
0
,
2
0
,
1
0
2
0
)
)
)
{
)
{
this
.
graph
.
beforeChange
();
this
.
graph
.
beforeChange
();
...
@@ -6428,10 +6428,10 @@ LGraphNode.prototype.executeAction = function(action)
...
@@ -6428,10 +6428,10 @@ LGraphNode.prototype.executeAction = function(action)
isInsideRectangle
(
isInsideRectangle
(
e
.
canvasX
,
e
.
canvasX
,
e
.
canvasY
,
e
.
canvasY
,
node
.
pos
[
0
]
+
node
.
size
[
0
]
-
5
,
node
.
pos
[
0
]
+
node
.
size
[
0
]
-
1
5
,
node
.
pos
[
1
]
+
node
.
size
[
1
]
-
5
,
node
.
pos
[
1
]
+
node
.
size
[
1
]
-
1
5
,
5
,
1
5
,
5
1
5
)
)
)
{
)
{
this
.
canvas
.
style
.
cursor
=
"
se-resize
"
;
this
.
canvas
.
style
.
cursor
=
"
se-resize
"
;
...
...
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