mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
When no manually added specific 'poweroff' or 'reboot' screensaver settings, use the suspend/sleep settings set via menu with an added overlay message in top right corner. Generalized some settings: "White background behind message and images" and "Stretch covers and images to fit screen", and move "Exclude this book's cover from screensaver" up a level (and remove this menu item added by ReaderMenu when closing document). Don't use memory cache with rendered screensaver images. ImageWidget: fix wrong behaviour (stretch) when 'file', 'width', 'height' and 'scale_factor' provided: now, keep aspect ratio. ImageWidget: increase file image mem cache (mostly used for icons) from 2 to 5MB to be ready for devices with very high DPI.