mirror of
https://github.com/Azornes/Comfyui-LayerForge.git
synced 2026-03-21 20:52:12 -03:00
Refactor MaskTool with utility methods and deduplication
Introduces utility methods to eliminate code duplication in chunk operations, mask creation, and shape processing. Adds universal chunk processing, chunk operation, and canvas helper methods. Refactors shape mask application and removal to use unified logic, and consolidates morphological and feathering operations for masks. Improves maintainability and readability by centralizing repeated logic.
This commit is contained in:
836
js/MaskTool.js
836
js/MaskTool.js
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user