fix: #8575 , Flowchart clones the current arrowhead (#8581)

* fix: #8575, Flowchart clones the current arrowhead

* fix: #8575, changed stroke color, style and width to startBindingElement
pull/9048/head
Ashwin Temkar 7 days ago committed by GitHub
parent f87c2cde09
commit 8f20b29b73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -416,11 +416,11 @@ const createBindingArrow = (
type: "arrow",
x: startX,
y: startY,
startArrowhead: appState.currentItemStartArrowhead,
startArrowhead: null,
endArrowhead: appState.currentItemEndArrowhead,
strokeColor: appState.currentItemStrokeColor,
strokeStyle: appState.currentItemStrokeStyle,
strokeWidth: appState.currentItemStrokeWidth,
strokeColor: startBindingElement.strokeColor,
strokeStyle: startBindingElement.strokeStyle,
strokeWidth: startBindingElement.strokeWidth,
points: [pointFrom(0, 0), pointFrom(endX, endY)],
elbowed: true,
});

Loading…
Cancel
Save