Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

Include stroke style when copy/paste styles (#1785)

Kostas Bariotisbda841571498
diff --git a/src/actions/actionStyles.ts b/src/actions/actionStyles.ts
index 17f3758ff4..dfffb8fff4 100644
--- a/src/actions/actionStyles.ts
+++ b/src/actions/actionStyles.ts
@@ -45,6 +45,7 @@ export const actionPasteStyles = register({
backgroundColor: pastedElement?.backgroundColor,
strokeWidth: pastedElement?.strokeWidth,
strokeColor: pastedElement?.strokeColor,
+ strokeStyle: pastedElement?.strokeStyle,
fillStyle: pastedElement?.fillStyle,
opacity: pastedElement?.opacity,
roughness: pastedElement?.roughness,