Skip to content

"Invert page turn taps and swipes" fix#13155

Merged
hius07 merged 2 commits into
koreader:masterfrom
hius07:page-turn-direction
Jan 28, 2025
Merged

"Invert page turn taps and swipes" fix#13155
hius07 merged 2 commits into
koreader:masterfrom
hius07:page-turn-direction

Conversation

@hius07

@hius07 hius07 commented Jan 28, 2025

Copy link
Copy Markdown
Member

(1) Fix "Invert page turn taps and swipes" per document setting (it was impossible to set false).
(2) Add action to set the inverted direction on/off (in addition to toggle). See #13010.


This change is Reviewable

@Frenzie Frenzie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good

Comment thread frontend/dispatcher.lua
translate_page = {category="none", event="TranslateCurrentPage", title=_("Translate current page"), reader=true, separator=true},
----
toggle_page_change_animation = {category="none", event="TogglePageChangeAnimation", title=_("Toggle page turn animations"), reader=true, condition=Device:canDoSwipeAnimation()},
set_inverse_reading_order = {category="string", event="ToggleReadingOrder", title=_("Invert page turn taps and swipes"), reader=true, condition=Device:isTouchDevice(), args={true, false}, toggle={_("on"), _("off")}},

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

page-turn

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

local text = _("Invert page turn taps and swipes")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for checking existing strings. 👍 (They should probably both be changed, but I disprefer doing that in the same PR.)

@hius07 hius07 merged commit 08b9fd9 into koreader:master Jan 28, 2025
@hius07 hius07 deleted the page-turn-direction branch January 28, 2025 16:54
@hius07 hius07 added this to the 2025.01 milestone Jan 28, 2025
0xstillb pushed a commit to 0xstillb/koreader-thai that referenced this pull request May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants