Update d2svg.go

This commit is contained in:
Paracelsus-Rose 2023-01-10 12:08:26 -05:00 committed by GitHub
parent 2c59b1c163
commit d46ce55c2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,10 +114,7 @@ func arrowheadDimensions(arrowhead d2target.Arrowhead, strokeWidth float64) (wid
case d2target.DiamondArrowhead:
widthMultiplier = 11
heightMultiplier = 9
case d2target.FilledCircleArrowhead, d2target.CircleArrowhead:
widthMultiplier = 14
heightMultiplier = 15
case d2target.CfOne, d2target.CfMany, d2target.CfOneRequired, d2target.CfManyRequired:
case d2target.CfOne, d2target.CfMany, d2target.CfOneRequired, d2target.CfManyRequired, d2target.FilledCircleArrowhead, d2target.CircleArrowhead:
widthMultiplier = 14
heightMultiplier = 15
}