mirror of
https://github.com/Azornes/Comfyui-LayerForge.git
synced 2026-03-25 06:22:14 -03:00
Add batch preview manager and mask overlay toggle
Introduces BatchPreviewManager for reviewing and confirming multiple imported layers after auto-refresh. Adds a toggle button for mask overlay visibility in the UI and updates mask rendering logic to respect overlay visibility. Also refactors image import to return new layers and adds a utility for removing layers by ID.
This commit is contained in:
@@ -178,6 +178,7 @@ export class CanvasLayers {
|
||||
}
|
||||
|
||||
const layer = {
|
||||
id: generateUUID(),
|
||||
image: image,
|
||||
imageId: imageId,
|
||||
x: finalX,
|
||||
|
||||
Reference in New Issue
Block a user