refactor: rename resolution_selector.py to nodes.py, serve JS from ./js; bump 2.1.3

This commit is contained in:
BRADSEC
2026-06-20 19:20:02 +10:00
parent 4085c53053
commit 93f3f29f01
5 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
from .resolution_selector import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
WEB_DIRECTORY = "./web"
WEB_DIRECTORY = "./js"
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY']
View File
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui_resolutionselectorplus"
description = "Custom node for ComfyUI providing easy resolution and empty latent selection for image generation workflows."
version = "2.1.2"
version = "2.1.3"
license = {file = "LICENSE"}
[project.urls]
+1 -1
View File
@@ -16,7 +16,7 @@ class MockTorch:
sys.modules['torch'] = MockTorch()
sys.modules['comfy'] = type('module', (), {'model_management': None})()
from resolution_selector import (
from nodes import (
calculate_aspect_ratio,
format_resolution,
get_resolution_list,