From a1180c99e5bb40455a75cfea14b9ba2946f3f0be Mon Sep 17 00:00:00 2001 From: SomeGuy <97603719+Commodore64user@users.noreply.github.com> Date: Thu, 2 May 2024 20:37:12 +0100 Subject: [PATCH] rotation gesture limited --- plugins/gestures.koplugin/main.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/gestures.koplugin/main.lua b/plugins/gestures.koplugin/main.lua index c95274257..e235ed314 100644 --- a/plugins/gestures.koplugin/main.lua +++ b/plugins/gestures.koplugin/main.lua @@ -759,6 +759,8 @@ function Gestures:addToMainMenu(menu_items) text = _("Spread and pinch"), sub_item_table = self:genSubItemTable({"spread_gesture", "pinch_gesture"}), }) + end + if Device:hasGSensor() table.insert(menu_items.gesture_manager.sub_item_table, { text = _("Rotation"), sub_item_table = self:genSubItemTable({"rotate_cw", "rotate_ccw"}),