saber-notes/saber

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

Aperta

#674 aperta il 30 mag 2023

 (1 commento) (0 reazioni) (0 assegnatari)Dart (322 fork)batch import
buggood first issue

Metriche repository

Star
 (4456 stelle)
Metriche merge PR
 (Merge medio 2g 16h) (8 PR mergiate in 30 g)

Descrizione

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

Guida contributor