mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Revert "examples/vibrate: bug fix: touches didn't work correctly"
This reverts commit c790d8aa7a
.
Reason: This was not needed
This commit is contained in:
parent
c790d8aa7a
commit
ab14c9ba9c
@ -39,7 +39,7 @@ type Game struct {
|
||||
|
||||
func (g *Game) Update() error {
|
||||
g.touchIDs = g.touchIDs[:0]
|
||||
g.touchIDs = inpututil.AppendJustPressedTouchIDs(g.touchIDs[:0])
|
||||
g.touchIDs = inpututil.AppendJustPressedTouchIDs(g.touchIDs)
|
||||
if len(g.touchIDs) > 0 {
|
||||
g.touchCounter++
|
||||
op := &ebiten.VibrateOptions{
|
||||
|
Loading…
Reference in New Issue
Block a user