From 59dd51f06af5158ba34d314ae4615c85a0f2dd12 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 29 Jan 2019 15:41:16 +0100 Subject: [PATCH] reduce max Down Gesture duration to 300ms for closing fullscreen views --- .../com/simplemobiletools/gallery/pro/helpers/Constants.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Constants.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Constants.kt index f07ec1245..706a3bb93 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Constants.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Constants.kt @@ -105,7 +105,7 @@ const val MAX_COLUMN_COUNT = 20 const val SHOW_TEMP_HIDDEN_DURATION = 300000L const val CLICK_MAX_DURATION = 150 const val CLICK_MAX_DISTANCE = 100 -const val MAX_CLOSE_DOWN_GESTURE_DURATION = 400 +const val MAX_CLOSE_DOWN_GESTURE_DURATION = 300 const val DRAG_THRESHOLD = 8 const val MONTH_MILLISECONDS = MONTH_SECONDS * 1000L const val MIN_SKIP_LENGTH = 2000