mirror of
https://github.com/Azornes/Comfyui-LayerForge.git
synced 2026-03-21 20:52:12 -03:00
Fix Ctrl+V to paste from system clipboard when internal clipboard is empty
This commit is contained in:
@@ -575,10 +575,8 @@ export class CanvasInteractions {
|
||||
}
|
||||
break;
|
||||
case 'v':
|
||||
// Paste layers from internal clipboard
|
||||
if (this.canvas.canvasLayers.internalClipboard.length > 0) {
|
||||
this.canvas.canvasLayers.pasteLayers();
|
||||
}
|
||||
// Paste from internal clipboard or system clipboard
|
||||
this.canvas.canvasLayers.handlePaste('mouse');
|
||||
break;
|
||||
default:
|
||||
handled = false;
|
||||
|
||||
Reference in New Issue
Block a user