mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
* fix: #8575, Flowchart clones the current arrowhead * fix: #8575, changed stroke color, style and width to startBindingElement
This commit is contained in:
parent
f87c2cde09
commit
8f20b29b73
1 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue