Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe2495647f | ||
|
|
7418525c9e | ||
|
|
87c6871413 | ||
|
|
85e0c69c3b | ||
|
|
3fff3b5b89 | ||
|
|
60bef64152 |
@@ -32,7 +32,6 @@ Outputs a reusable **RECT** object (`{x,y,w,h}`) **and** the four scalar values
|
||||
ComfyUI/custom_nodes/
|
||||
```
|
||||
2. Restart ComfyUI.
|
||||
3. Open the UI with **`?nocache=1`** (e.g. `http://127.0.0.1:8188/?nocache=1`) to refresh front-end JS.
|
||||
|
||||
> If the **“Open Rect / Select”** button doesn’t appear, it’s almost always cache—use `?nocache=1`.
|
||||
|
||||
|
||||
+5
-4
@@ -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"}
|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
[project]
|
||||
name = "rect"
|
||||
version = "0.1.2"
|
||||
description = "Interactive rectangle tools for ComfyUI: Select, Crop, Mask, Fill."
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">=3.10"
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/jtrue/ComfyUI-Rect"
|
||||
|
||||
[tool.comfy]
|
||||
PublisherId = "jtrue"
|
||||
DisplayName = "Rect"
|
||||
Icon = "https://raw.githubusercontent.com/jtrue/ComfyUI-Rect/main/assets/rect-select.png"
|
||||
Reference in New Issue
Block a user