2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
koreader/frontend/apps
NiLuJe 4caf8f281d
[CRe] Ensure toggling nightmode invalidates the drawCurrentView cache (#6854)
* Use a CRe set* method when toggling nightmode

This ensures it gets flagged as add_reset by the call cache, and that
CRe will actually re-render, as it's necessary if nightmode_images is
enabled (the default).

Fix #6845

* Prevent ReaderHighlight:onTap from running ReaderHighlight:clear when
it's unnecessary.

Avoiding a clearSelection call in CRe that could invalidate the cache
and cause unnecessary redraws.

* Don't store empty highlight arrays when all HLs on a page have
been deleted
2020-11-08 02:18:50 +01:00
..
cloudstorage ftp: guard against nil file (#6640) 2020-09-09 17:59:57 +02:00
filemanager Reader: rationalize "Back" key/action handling (#6840) 2020-11-03 22:51:11 +01:00
opdscatalog [RTL UI] Bidi-wrap filenames, paths, urls, metadata 2020-01-04 01:34:46 +01:00
reader [CRe] Ensure toggling nightmode invalidates the drawCurrentView cache (#6854) 2020-11-08 02:18:50 +01:00