mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-09 23:39:40 +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) {
|
||||
if (!isDragging) {
|
||||
if (!isDragging && !isPanning) {
|
||||
isDragging = true
|
||||
val deltaTime = System.currentTimeMillis() - touchDownTime
|
||||
if (deltaTime > 400) {
|
||||
|
Reference in New Issue
Block a user