mirror of
https://github.com/koreader/koreader.git
synced 2026-11-28 08:17:00 +00:00
Due to changes to renderOptimizedPage(...) made by #15067, which was merged after #14954 was made, a regression was introduced that causes instability and even crashes on mobile devices and e-readers when Invert Document is enabled along with Reflow or Auto Straighten. This PR fixes the regression and simplifies the drawContextPage(...) method.