From 60bef64152256c7fdef89307ac5fff982a016c8d Mon Sep 17 00:00:00 2001 From: jtrue Date: Sat, 23 Aug 2025 19:54:59 -0400 Subject: [PATCH] Update rect_select.py --- py/rect_select.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/py/rect_select.py b/py/rect_select.py index 93bb336..8074055 100644 --- a/py/rect_select.py +++ b/py/rect_select.py @@ -24,10 +24,10 @@ class RectSelect: return { "required": { "image": ("IMAGE",), - "x": ("INT", {"default": 0, "min": 0}), - "y": ("INT", {"default": 0, "min": 0}), - "w": ("INT", {"default": 256, "min": 1}), - "h": ("INT", {"default": 256, "min": 1}), + "x": ("INT", {"default": 0, "min": 0, "max": 65535}), + "y": ("INT", {"default": 0, "min": 0, "max": 65535}), + "w": ("INT", {"default": 256, "min": 1, "max": 65535}), + "h": ("INT", {"default": 256, "min": 1, "max": 65535}), } } @@ -45,3 +45,4 @@ class RectSelect: NODE_CLASS_MAPPINGS = {"RectSelect": RectSelect} NODE_DISPLAY_NAME_MAPPINGS = {"RectSelect": "Rect / Select"} +