dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit cfea7be5349eed897bc3d8a53fbf585e407db6a6
parent 5ea4cb0e54f91b407284e231e721900bc058aeee
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sat, 27 May 2023 22:59:26 -0700

cleanup

Diffstat:
Mpkg/captcha/image.go | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/pkg/captcha/image.go b/pkg/captcha/image.go @@ -645,9 +645,7 @@ func (m *Image) renderPath(points []Point) { m.c.SetStrokeStyle(grad) //m.c.SetColor(color.RGBA{255, 0, 0, 255}) - m.c.MoveTo(prev.GetX(), prev.GetY()) - m.c.CubicTo(prev.GetX()+d, prev.GetY()+d, pt.GetX()-d, pt.GetY()-d, pt.GetX(), pt.GetY()) - m.c.Stroke() + m.strokeCubicLine(prev, pt, d) if i == len(points)-1 { m.withState(func() {