mirror of https://github.com/koreader/koreader
ReaderRolling: proper refresh when toggling scroll/page mode
When toggling between scroll and page modes multiple times, _gotoXPointer() could find the xpointer to be already positionned and avoid calling setDirty() (so not enqueuing a whole screen refresh). But the page will be slightly moved to account for the top margin disappearing. We need that whole screen refresh in such cases, so ensure one is enqueued.pull/4848/head
parent
b7b4cdd2a7
commit
a47f3a2765
Loading…
Reference in New Issue