Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gesture: Add toggle for orientation lock #11795

Merged
merged 1 commit into from May 11, 2024

Conversation

thialfi17
Copy link
Contributor

@thialfi17 thialfi17 commented May 10, 2024

This adds a gesture to toggle the existing "Lock auto rotation to current orientation" option. This is an option that I tended to change relatively often as I switch between reading in bed (and swapping hands) and reading while eating or doing other things that make it harder to hold my device.

I'm hoping I've done everything correctly (and I've tested and verified it works on my device) but if not, let me know and I'll do my best to fix it up.

There's perhaps other cleanups/changes that could be made here since it's a bit confusing that the rotation options are under "Screen" in the settings but under "Device" in the gestures but I just wanted to get this working for me :)


This change is Reviewable

Copy link
Member

@Frenzie Frenzie left a comment

Choose a reason for hiding this comment

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

lgtm

@Frenzie Frenzie requested a review from hius07 May 10, 2024 20:21
@Frenzie Frenzie added this to the 2024.05 milestone May 10, 2024
@Frenzie Frenzie merged commit 1398154 into koreader:master May 11, 2024
3 checks passed
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.

None yet

3 participants