mirror of
https://github.com/koreader/koreader.git
synced 2025-12-24 12:14:05 +01:00
Screenshot: set as book custom cover (#11227)
This commit is contained in:
@@ -152,7 +152,7 @@ end
|
||||
|
||||
-- this might be overridden by a document implementation
|
||||
function Document:getNativePageDimensions(pageno)
|
||||
local hash = "pgdim|"..self.file.."|"..pageno
|
||||
local hash = "pgdim|"..self.file.."|"..self.mod_time.."|"..pageno
|
||||
local cached = DocCache:check(hash)
|
||||
if cached then
|
||||
return cached[1]
|
||||
|
||||
Reference in New Issue
Block a user