mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Page turn animations
Kindle PW5 (MTK) with hardware support Currently only in Crengine
This commit is contained in:
@@ -141,6 +141,19 @@ When enabled the UI direction for the Table of Contents, Book Map, and Page Brow
|
||||
}
|
||||
}
|
||||
|
||||
if Device:canDoSwipeAnimation() then
|
||||
table.insert(PageTurns.sub_item_table, {
|
||||
text =_("Page Turn Animations"),
|
||||
checked_func = function()
|
||||
return G_reader_settings:isTrue("swipe_animations")
|
||||
end,
|
||||
callback = function()
|
||||
G_reader_settings:flipNilOrFalse("swipe_animations")
|
||||
end,
|
||||
separator = true,
|
||||
})
|
||||
end
|
||||
|
||||
if Device:hasKeys() then
|
||||
table.insert(PageTurns.sub_item_table, {
|
||||
text = _("Invert page turn buttons"),
|
||||
|
||||
Reference in New Issue
Block a user