saber-notes/saber

Define "1.0x" zoom to be when the page width and screen width are equal

Open

#674 opened on May 30, 2023

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Dart (4,456 stars) (322 forks)batch import
buggood first issue

Description

Describe the bug

If I zoom above 1.0, then the black side margins become bigger and bigger. When zooming to 5.0, the black side margin is almost half the screen size.

To reproduce

  1. Any note
  2. zoom to 5.0 (just any value above 1.0)
  3. go to the far left/right of the note
  4. see how black part of screen is very large

Expected behavior

I would expect that the black side margins remain constant for all zoom levels above 1.0. Then, less movement of the note is needed and the user experience is much better. It seems to me that the side margins are specified by a fixed value. I would suggest to make it dependent on the zoom level.

Saber version

v0.12.7 (Google Play Store)

Device

  • Device: Samsung Galaxy Tab S6
  • OS: LineageOS 20 (Android 13)

Anything else?

No response

Contributor guide