ReaderHighlight: add overlooked "crosshairs" (#13152)

See #13145.
This commit is contained in:
Frans de Jonge
2025-01-27 12:11:23 +01:00
committed by GitHub
parent 983622a372
commit 2b23b2f8ee

View File

@@ -862,7 +862,7 @@ Except when in two columns mode, where this is limited to showing only the previ
table.insert(menu_items.long_press.sub_item_table, {
text_func = function()
local highlight_non_touch_interval = G_reader_settings:readSetting("highlight_non_touch_interval") or 1
return T(N_("Interval for crosshairs speed increase: 1 second", "Interval for speed increase: %1 seconds", highlight_non_touch_interval), highlight_non_touch_interval)
return T(N_("Interval for crosshairs speed increase: 1 second", "Interval for crosshairs speed increase: %1 seconds", highlight_non_touch_interval), highlight_non_touch_interval)
end,
enabled_func = function()
return not self.view.highlight.disabled and G_reader_settings:nilOrTrue("highlight_non_touch_spedup")