fix category

This commit is contained in:
kijai 2024-08-01 23:01:57 +03:00
parent 0888ece9b0
commit 27cfddc379
2 changed files with 2 additions and 1 deletions

View File

@ -639,7 +639,7 @@ class GetImageSizeAndCount:
RETURN_TYPES = ("IMAGE","INT", "INT", "INT",)
RETURN_NAMES = ("image", "width", "height", "count",)
FUNCTION = "getsize"
CATEGORY = "KJNodes/masking"
CATEGORY = "KJNodes/image"
DESCRIPTION = """
Returns width, height and batch size of the image,
and passes it through unchanged.

View File

@ -396,6 +396,7 @@ function createPointsEditor(context, reset=false) {
})
.event("dragend", function() {
if (pv.event.button === 2 && i !== 0 && i !== points.length - 1) {
this.index = i;
points.splice(i--, 1);
}