Commit Graph
4 Commits
Author SHA1 Message Date
jammyfu bbdca191ef bug fix 2025-01-22 07:31:27 +08:00
fujammy 4c5a371fde Refactor dynamic_image_input.js to improve image input connection management. Enhanced logic for counting and managing image inputs, ensuring at least one input is retained. Updated input addition and removal processes to only remove unused inputs when necessary, improving functionality and user experience for dynamic image handling. 2025-01-04 18:48:29 +08:00
fujammy f38d7e3a79 Refactor image processing and UI components for improved functionality. Enhanced MaskPreview class to streamline mask handling and output structure. Updated ClickPopup and DynamicImageCombiner nodes to improve event handling and connection management. Added custom styles for TextCombiner node to enhance visual presentation. These changes improve user experience and maintainability across the application. 2025-01-03 02:55:55 +08:00
jammyfu 1610fce3f4 Introduce DynamicImageCombiner class and update init.py for node integration.
This commit adds the DynamicImageCombiner class, enabling dynamic addition of multiple image inputs and outputting a list of connected images. The init.py file now includes this new node in NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS. A new JavaScript file has also been created to manage the node's behavior, enhancing image processing functionality.
引入DynamicImageCombiner类并更新__init__.py以实现节点集成。
此提交添加了DynamicImageCombiner类,可以动态地添加多个图像输入,并输出所有连接图像的列表。init.py文件现在在NODE_CLASS_MAPPINGS和NODE_DISPLAY_NAME_MAPPINGS中包含了这个新节点。此外,还创建了一个新的JavaScript文件来管理该节点的行为,增强了图像处理功能。
2024-12-25 22:23:01 +08:00