diff --git a/js/CanvasInteractions.js b/js/CanvasInteractions.js index 99866b7..0885bfa 100644 --- a/js/CanvasInteractions.js +++ b/js/CanvasInteractions.js @@ -346,9 +346,6 @@ export class CanvasInteractions { this.canvas.canvasLayers.copySelectedLayers(); } break; - case 'v': - this.canvas.canvasLayers.handlePaste('mouse'); - break; default: handled = false; break; diff --git a/js/CanvasState.js b/js/CanvasState.js index e0e93c2..2c6c3fc 100644 --- a/js/CanvasState.js +++ b/js/CanvasState.js @@ -227,6 +227,7 @@ export class CanvasState { nodeId: this.canvas.node.id, state: state }); + this.canvas.render(); } else { log.warn("State saver worker not available. Saving on main thread."); await setCanvasState(this.canvas.node.id, state); diff --git a/pyproject.toml b/pyproject.toml index fd84e37..a891dfd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "layerforge" description = "Photoshop-like layered canvas editor to your ComfyUI workflow. This node is perfect for complex compositing, inpainting, and outpainting, featuring multi-layer support, masking, blend modes, and precise transformations. Includes optional AI-powered background removal for streamlined image editing." -version = "1.3.5" +version = "1.3.6" license = {file = "LICENSE"} dependencies = ["torch", "torchvision", "transformers", "aiohttp", "numpy", "tqdm", "Pillow"]