DragPaintListener fix (#8789)

This commit is contained in:
Gualdimar
2023-03-02 20:25:44 +02:00
committed by GitHub
parent 3e4edaff8a
commit f8bf6256d9

View File

@ -169,7 +169,7 @@ class EditorMapHolder(
}
override fun touchDragged(event: InputEvent?, x: Float, y: Float, pointer: Int) {
if (!isDragging) {
if (!isDragging && !isPanning) {
isDragging = true
val deltaTime = System.currentTimeMillis() - touchDownTime
if (deltaTime > 400) {