Skip to content

Screen rotates back to normal when placed flat on desk #2

Description

@dalel487

Thanks for this project. Been really useful. I'm also new to GitHub so apologise if I'm posting this in the wrong place.

The only issue I had with the programme was that

  • I'd rotate the screen to portrait
  • put the laptop flat on the desk or at a not so steep angle
  • Because rotation_changed sets the state to 0/normal at the start of each call, the screen gets set back to normal mode. Annoying if using a pen.

To fix this, I'd suggest changing int state to static int state at the start of rotation_changed()

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions