From b600acf5407a106127db6dd486ee8f6408b87750 Mon Sep 17 00:00:00 2001 From: sumi Date: Sat, 10 Jan 2026 22:14:47 -0600 Subject: [PATCH] automated snapshot --- contour_layer.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/contour_layer.go b/contour_layer.go index 18d2171..b8ce1aa 100644 --- a/contour_layer.go +++ b/contour_layer.go @@ -62,13 +62,13 @@ func (s *ContourLayer) Update(env *Env, g *sg.Graphics) { } func (s *ContourLayer) Draw(env *Env, g *sg.Graphics) { - //g.BeginAdditiveBlend() + g.BeginAdditiveBlend() for _, actor := range s.actors { if actor != nil { actor.Draw(env, g) } } - //g.EndBlend() + g.EndBlend() } func (s *ContourLayer) IsDirty() bool { @@ -92,7 +92,8 @@ func (a *Actor) Draw(env *Env, g *sg.Graphics) { g.SetStrokeWeight(1.0) g.SetStroke(true) - g.SetStrokeColor(a.color) + c := a.color + c.A = 255 g.DrawLine(a.position, nextPosition) //rl.DrawLineV(a.position, nextPosition, a.color) a.position = nextPosition