mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
The calculation did not correctly calculate the offset in rotated modes when the rotation was 90 or 270 degrees. Under these circumstances, getWidth() and getHeight() did return rotated values for the framebuffer, while Device.viewport did return not rotated values.