Refactor: Move blend mode menu styles to CSS file

Moved all blend mode menu styles from CanvasLayers.ts to a dedicated CSS file. Replaced inline styles with CSS classes and preserved all functionality.
This commit is contained in:
Dariusz L
2025-08-03 14:18:21 +02:00
parent 5b54ab28cb
commit c4318d4923
6 changed files with 389 additions and 146 deletions

View File

@@ -238,7 +238,8 @@ export class CanvasIO {
}
catch (error) {
log.error(`Failed to send data for node ${nodeId}:`, error);
throw new Error(`Failed to get confirmation from server for node ${nodeId}. The workflow might not have the latest canvas data.`);
throw new Error(`Failed to get confirmation from server for node ${nodeId}. ` +
`Make sure that the nodeId: (${nodeId}) matches the "node_id" value in the node options. If they don't match, you may need to manually set the node_id to ${nodeId}.`);
}
}
async addInputToCanvas(inputImage, inputMask) {