fix: Rounded edges of color sections of identity rings (#3968)
* fix: Rounded edges of color sections of identity rings * bump version
This commit is contained in:
parent
c24c3966e2
commit
347d875acb
|
@ -76,6 +76,7 @@ func DrawRing(param *DrawRingParam) ([]byte, error) {
|
|||
dc.SetHexColor(colors[param.ColorHash[i][1]])
|
||||
dc.DrawArc(float64(param.Width/2), float64(param.Height/2), radius, arcPos, arcPos+unitRadLen*float64(param.ColorHash[i][0]))
|
||||
dc.SetLineWidth(ringPxSize)
|
||||
dc.SetLineCapButt()
|
||||
dc.Stroke()
|
||||
arcPos += unitRadLen * float64(param.ColorHash[i][0])
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue