From e00c0f00949beff5012cfd4809458c787f86670d Mon Sep 17 00:00:00 2001 From: folke Date: Wed, 25 Oct 2023 10:21:38 +0200 Subject: [PATCH] feat(player): don't bring up screenshotsheet if player is locked --- .../java/eu/kanade/tachiyomi/ui/player/viewer/GestureHandler.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/player/viewer/GestureHandler.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/player/viewer/GestureHandler.kt index 08ec6a4966..802c7052d8 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/player/viewer/GestureHandler.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/player/viewer/GestureHandler.kt @@ -113,6 +113,7 @@ class GestureHandler( } override fun onLongPress(e: MotionEvent) { + if (SeekState.mode == SeekState.LOCKED) { playerControls.toggleControls(); return } activity.openScreenshotSheet() } }