Simplifies the preset-chip picker (Smart Resize / Smart Batch Resize) to a single canvas implementation - drops the dual DOM-widget path, so chips stay positioned correctly under "Longest side (px)" in both classic and Nodes 2.0 rendering instead of jumping to the bottom of the node. Adds a shared setWidgetVisible() helper so dynamic show/hide (Counter start, the hidden customtext output on every node) actually works under Nodes 2.0's Vue reactivity - it previously only worked in classic canvas mode. Fixes two silent Nodes 2.0 rendering bugs: widgets only repaint via their own triggerDraw(), not setDirtyCanvas(), so the active preset chip and status-box text were going visually stale after an update even though the underlying value was correct. And Nodes 2.0's WidgetLegacy bridge permanently stamps a widget.width that classic mode's own click hit-test then reads forever after - once a node had ever rendered under Nodes 2.0, classic mode silently lost clicks on the right side of a wide node. Both fixed by keeping widget state in sync on every draw() instead of trusting it to survive across renderer switches. Also centers section-divider labels with flanking lines (was label-left/line-right) and brightens the line color, which had become nearly invisible under Nodes 2.0's extra canvas scaling. README: reorders node sections into actual pipeline order (Prompt Controller -> Profile Switch -> Resize -> Resolution Multiplier -> Batch Resize, standalone tool last instead of mid-list), adds a Nodes 2.0 compatibility screenshot, and refreshes the Smart Batch Resize screenshot to match its current UI.
18 lines
666 B
TOML
18 lines
666 B
TOML
[project]
|
|
name = "comfyui-craftkit"
|
|
description = "Smart resize, batch resize, resolution multiplier and prompt controller nodes for ComfyUI"
|
|
version = "1.1.1"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { file = "LICENSE" }
|
|
# Pillow, NumPy, and PyTorch all ship with ComfyUI itself — intentionally not
|
|
# re-declared here to avoid version conflicts with ComfyUI's own pins.
|
|
dependencies = []
|
|
|
|
[project.urls]
|
|
Repository = "https://github.com/CraftopiaStudio/ComfyUI-CraftKit"
|
|
|
|
[tool.comfy]
|
|
PublisherId = "craftopiastudio"
|
|
DisplayName = "ComfyUI-CraftKit"
|
|
Icon = "https://raw.githubusercontent.com/CraftopiaStudio/ComfyUI-CraftKit/main/assets/icon.png" |