Skip to content

Commit

Permalink
Merge branch 'main' into release-15-1-1
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasnlm committed Nov 16, 2021
2 parents f69e34c + b5a4a07 commit 3ad0334
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ class MinefieldStage(
}
}.also {
inputEvents.clear()
Gdx.graphics.requestRendering()
}
}
} else {
Expand All @@ -245,20 +244,22 @@ class MinefieldStage(
.run(onSingleTap)
.also {
inputEvents.clear()
Gdx.graphics.requestRendering()
}
}
}

Gdx.graphics.requestRendering()
} else if (touchDownEvents.isNotEmpty()) {
if (dt > actionSettings.longTapTimeout) {
touchDownEvents.map { it.id }
.first()
.run(onLongTouch)
.also {
inputEvents.clear()
Gdx.graphics.requestRendering()
}
}

Gdx.graphics.requestRendering()
}
}
}
Expand Down

0 comments on commit 3ad0334

Please sign in to comment.