From bd42f6984e2b982eced5db771874670a623ac968 Mon Sep 17 00:00:00 2001 From: hius07 <62179190+hius07@users.noreply.github.com> Date: Tue, 4 Jun 2024 22:12:51 +0300 Subject: [PATCH] Gesture manager: make long-pressing on top left corner non adjustable in FM (#11971) It is overridden by the folder tree, so the Gesture manager setting doesn't work. --- plugins/gestures.koplugin/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gestures.koplugin/main.lua b/plugins/gestures.koplugin/main.lua index 2cf047b42..cebcee279 100644 --- a/plugins/gestures.koplugin/main.lua +++ b/plugins/gestures.koplugin/main.lua @@ -299,7 +299,7 @@ function Gestures:genMenu(ges) end function Gestures:genSubItem(ges, separator, hold_callback) - local reader_only = {tap_top_left_corner=true, tap_top_right_corner=true,} + local reader_only = {tap_top_left_corner=true, tap_top_right_corner=true, hold_top_left_corner=true,} local enabled_func if reader_only[ges] then enabled_func = function() return self.ges_mode == "gesture_reader" end