diff --git a/nodes/image_nodes.py b/nodes/image_nodes.py index 3996e51..165831a 100644 --- a/nodes/image_nodes.py +++ b/nodes/image_nodes.py @@ -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. diff --git a/web/js/point_editor.js b/web/js/point_editor.js index c23e836..4a412bb 100644 --- a/web/js/point_editor.js +++ b/web/js/point_editor.js @@ -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); }