mirror of
https://github.com/koreader/koreader
synced 2024-11-13 19:11:25 +00:00
3ffb4c1692
There were a handful of cases where if there was no cached kctx there was no fallback and several KoptInterface methods would return nil, causing issues in various parts of KOReader (this happened with the migration to selected_text everywhere but it's unclear how that change caused this regression). In any case, from a correctness perspective it makes sense to have the corresponding fallback paths to create a new kctx if we couldn't find a cached one. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com> |
||
---|---|---|
.. | ||
canvascontext.lua | ||
credocument.lua | ||
djvudocument.lua | ||
doccache.lua | ||
document.lua | ||
documentregistry.lua | ||
koptinterface.lua | ||
pdfdocument.lua | ||
picdocument.lua | ||
tilecacheitem.lua |