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", type: "arrow",
x: startX, x: startX,
y: startY, y: startY,
startArrowhead: appState.currentItemStartArrowhead, startArrowhead: null,
endArrowhead: appState.currentItemEndArrowhead, endArrowhead: appState.currentItemEndArrowhead,
strokeColor: appState.currentItemStrokeColor, strokeColor: startBindingElement.strokeColor,
strokeStyle: appState.currentItemStrokeStyle, strokeStyle: startBindingElement.strokeStyle,
strokeWidth: appState.currentItemStrokeWidth, strokeWidth: startBindingElement.strokeWidth,
points: [pointFrom(0, 0), pointFrom(endX, endY)], points: [pointFrom(0, 0), pointFrom(endX, endY)],
elbowed: true, elbowed: true,
}); });

Loading…
Cancel
Save