mirror of https://github.com/koreader/koreader
fix bug in viewport offset calculation for refreshes
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.pull/1182/head
parent
560131957c
commit
e8d576f99f
Loading…
Reference in New Issue