automated snapshot

This commit is contained in:
sumi
2026-01-11 21:32:48 -06:00
parent 2e0ea01b1e
commit 0a3afccbd1
2 changed files with 6 additions and 2 deletions

View File

@@ -19,6 +19,8 @@ func NewBlindsLayer(field Field) *BlindsLayer {
func (l *BlindsLayer) Draw(env *Env, g *sg.Graphics) {
g.BeginAdditiveBlend()
rowHeight := float32(10.0)
rows := int32(g.Bounds.Height / rowHeight)
@@ -42,6 +44,8 @@ func (l *BlindsLayer) Draw(env *Env, g *sg.Graphics) {
}
l.Dirty = false
g.EndBlend()
}
func (l *BlindsLayer) Update(env *Env, g *sg.Graphics) {