mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-10 15:59:33 +07:00
DragPaintListener fix (#8789)
This commit is contained in:
@ -169,7 +169,7 @@ class EditorMapHolder(
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun touchDragged(event: InputEvent?, x: Float, y: Float, pointer: Int) {
|
override fun touchDragged(event: InputEvent?, x: Float, y: Float, pointer: Int) {
|
||||||
if (!isDragging) {
|
if (!isDragging && !isPanning) {
|
||||||
isDragging = true
|
isDragging = true
|
||||||
val deltaTime = System.currentTimeMillis() - touchDownTime
|
val deltaTime = System.currentTimeMillis() - touchDownTime
|
||||||
if (deltaTime > 400) {
|
if (deltaTime > 400) {
|
||||||
|
Reference in New Issue
Block a user