examples/drag: remove duplicated calls (#2846)

This commit is contained in:
Weilin Shi 2023-11-18 18:52:42 +08:00 committed by GitHub
parent ca8a2896b4
commit 058973adda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,6 @@ func (s *Sprite) Draw(screen *ebiten.Image, alpha float32) {
op.GeoM.Translate(float64(s.x), float64(s.y)) op.GeoM.Translate(float64(s.x), float64(s.y))
op.ColorScale.ScaleAlpha(alpha) op.ColorScale.ScaleAlpha(alpha)
screen.DrawImage(s.image, op) screen.DrawImage(s.image, op)
screen.DrawImage(s.image, op)
} }
// StrokeSource represents a input device to provide strokes. // StrokeSource represents a input device to provide strokes.