mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-23 19:54:37 +08:00
fix category
This commit is contained in:
parent
0888ece9b0
commit
27cfddc379
@ -639,7 +639,7 @@ class GetImageSizeAndCount:
|
|||||||
RETURN_TYPES = ("IMAGE","INT", "INT", "INT",)
|
RETURN_TYPES = ("IMAGE","INT", "INT", "INT",)
|
||||||
RETURN_NAMES = ("image", "width", "height", "count",)
|
RETURN_NAMES = ("image", "width", "height", "count",)
|
||||||
FUNCTION = "getsize"
|
FUNCTION = "getsize"
|
||||||
CATEGORY = "KJNodes/masking"
|
CATEGORY = "KJNodes/image"
|
||||||
DESCRIPTION = """
|
DESCRIPTION = """
|
||||||
Returns width, height and batch size of the image,
|
Returns width, height and batch size of the image,
|
||||||
and passes it through unchanged.
|
and passes it through unchanged.
|
||||||
|
|||||||
@ -396,6 +396,7 @@ function createPointsEditor(context, reset=false) {
|
|||||||
})
|
})
|
||||||
.event("dragend", function() {
|
.event("dragend", function() {
|
||||||
if (pv.event.button === 2 && i !== 0 && i !== points.length - 1) {
|
if (pv.event.button === 2 && i !== 0 && i !== points.length - 1) {
|
||||||
|
this.index = i;
|
||||||
points.splice(i--, 1);
|
points.splice(i--, 1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user