mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
examples/drag: remove duplicated calls (#2846)
This commit is contained in:
parent
ca8a2896b4
commit
058973adda
@ -84,7 +84,6 @@ func (s *Sprite) Draw(screen *ebiten.Image, alpha float32) {
|
||||
op.GeoM.Translate(float64(s.x), float64(s.y))
|
||||
op.ColorScale.ScaleAlpha(alpha)
|
||||
screen.DrawImage(s.image, op)
|
||||
screen.DrawImage(s.image, op)
|
||||
}
|
||||
|
||||
// StrokeSource represents a input device to provide strokes.
|
||||
|
Loading…
Reference in New Issue
Block a user