mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-13 12:29:42 +02:00
Fix #4195 start and end arrow have different sizes
In #3938, it appears that the marker sizes for pointEnd was unintentionally changed. This reverts the change in marker size. It is also possible that the intention was to change the viewBox size for both start and end, but I doubt this since it makes the arrows significantly smaller than other markers.
This commit is contained in:
@@ -142,7 +142,7 @@ const point = (elem, type) => {
|
||||
.append('marker')
|
||||
.attr('id', type + '-pointEnd')
|
||||
.attr('class', 'marker ' + type)
|
||||
.attr('viewBox', '0 0 12 20')
|
||||
.attr('viewBox', '0 0 10 10')
|
||||
.attr('refX', 10)
|
||||
.attr('refY', 5)
|
||||
.attr('markerUnits', 'userSpaceOnUse')
|
||||
|
Reference in New Issue
Block a user