mirror of https://github.com/koreader/koreader
Cleanup the forcing of portrait mode
1. Move the setting of G_width/G_height inside the function Screen:setRotationMode() 2. Don't call self:clearCache() twice on closing the document (once is enough). 3. Get rid of UniReader:setRotationMode() method because Screen:setRotationMode() is enough, as there is nothing reader- or document-specific in this function.
parent
d3b0be1bf4
commit
f2c161d45d
Loading…
Reference in New Issue