Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: cneben <[email protected]>
  • Loading branch information
cneben committed Jan 11, 2024
1 parent 795de60 commit 004d3e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/EdgeDstArrowPath.qml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,12 @@ ShapePath {
fillColor: edgeItem &&
edgeItem.dstShape === Qan.EdgeStyle.ArrowOpen ? Qt.rgba(0.,0.,0.,0.) :
edgeTemplate.color
// FIXME #218 strokeWidth should always be 1, much more smoother...
// Eventually, modify automatically base width when generating geometry ?
strokeWidth: edgeItem &&
edgeItem.style ? edgeItem.style.lineWidth :
2
//strokeWidth: 2
startX: edgeItem ? edgeItem.dstA1.x : 0
startY: edgeItem ? edgeItem.dstA1.y : 0
PathLine { x: edgeItem ? edgeItem.dstA3.x : 0; y: edgeItem ? edgeItem.dstA3.y : 0 }
Expand Down

0 comments on commit 004d3e4

Please sign in to comment.