ImageViewer: menu to invert rotations and set auto rotation (#11206)

Add some menu items under Screen>Rotation to allow inverting
the default rotation of ImageViewer, and to auto-rotate for
best fit on launch, so landscape images are auto-rotated to
the preferred rotation.
This commit is contained in:
poire-z
2023-12-12 13:24:31 +01:00
committed by GitHub
parent aabd6d7a26
commit fe02b83b6a
3 changed files with 56 additions and 13 deletions

View File

@@ -36,10 +36,6 @@ DCREREADER_VIEW_MODE = "page",
-- default to false
DSHOWOVERLAP = false,
-- landscape clockwise rotation
-- default to true, set to false for counterclockwise rotation
DLANDSCAPE_CLOCKWISE_ROTATION = true,
-- default minimum screen height for reading with 2 pages in landscape mode
DCREREADER_TWO_PAGE_THRESHOLD = 7,