[UX] Introduce Taps & Gestures menu (#4677)

This more logically groups together various settings related to taps and gestures.

Cf. <https://github.com/koreader/koreader/pull/4655#issuecomment-466808273>.
pull/4680/head
Frans de Jonge 5 years ago committed by GitHub
parent 32d813dc92
commit db0467c9f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -137,7 +137,7 @@ function ReaderGesture:genMultiswipeSubmenu()
end
function ReaderGesture:addToMainMenu(menu_items)
menu_items.gesture = {
menu_items.gesture_manager = {
text = _("Gesture manager"),
sub_item_table = {
{

@ -159,6 +159,12 @@ if Device:isAndroid() then
end
end
if Device:isTouchDevice() then
common_settings.taps_and_gestures = {
text = _("Taps and gestures"),
}
end
if Device:hasKeys() then
common_settings.navigation = {
text = _("Navigation"),

@ -27,8 +27,10 @@ local order = {
"----------------------------",
"network",
"screen",
"document",
"----------------------------",
"taps_and_gestures",
"navigation",
"document",
"----------------------------",
"language",
"device",
@ -37,7 +39,6 @@ local order = {
device = {
"time",
"battery",
"gesture",
"mass_storage_settings",
},
network = {
@ -57,13 +58,18 @@ local order = {
"screen_eink_opt",
"color_rendering",
"----------------------------",
"menu_activate",
"screen_disable_double_tab",
"screen_toggle_gsensor",
"----------------------------",
"keep_screen_on",
"fullscreen",
},
taps_and_gestures = {
"gesture_manager",
"frontlight_gesture_controller",
"----------------------------",
"menu_activate",
"screen_disable_double_tab",
},
tools = {
"calibre_wireless_connection",
"evernote",
@ -83,7 +89,6 @@ local order = {
},
more_plugins = {
"auto_frontlight",
"frontlight_gesture_controller",
"battery_statistics",
"synchronize_time",
"keep_alive",

@ -46,9 +46,9 @@ local order = {
"network",
"screen",
"----------------------------",
"document",
"taps_and_gestures",
"navigation",
"follow_links",
"document",
"----------------------------",
"language",
"device",
@ -59,7 +59,6 @@ local order = {
device = {
"time",
"battery",
"gesture",
"mass_storage_settings",
},
network = {
@ -79,13 +78,20 @@ local order = {
"screen_eink_opt",
"color_rendering",
"----------------------------",
"menu_activate",
"screen_disable_double_tab",
"screen_toggle_gsensor",
"----------------------------",
"keep_screen_on",
"fullscreen",
},
taps_and_gestures = {
"gesture_manager",
"frontlight_gesture_controller",
"----------------------------",
"follow_links",
"----------------------------",
"menu_activate",
"screen_disable_double_tab",
},
tools = {
"read_timer",
"calibre_wireless_connection",
@ -103,7 +109,6 @@ local order = {
},
more_plugins = {
"auto_frontlight",
"frontlight_gesture_controller",
"battery_statistics",
"synchronize_time",
"keep_alive",

Loading…
Cancel
Save